Php User Defined Functions With Parameters In Python