Php User Defined Functions With Parameters Python