note 49794 deleted from language.functions by tularis

From: Date: Tue, 08 Feb 2005 22:06:42 +0000
Subject: note 49794 deleted from language.functions by tularis
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-84692@lists.php.net to get a copy of this message
Note Submitter: goodwork at myrealbox dot com Reason: useless ---- DEFINING A FUNCTION WITH ANOTHER FUNCTION You can define a function with another function to embelish for consistency and expediency - just be sure that the called function is on the same page (and perhaps prior) and that all values in the called function are also included in the defined function. FUNCTION pass2($param1,$param2,$param3,$etc) { $val= pass1($param1,$param2);// use this format ... do some things return $newval; }

« previous php.notes (#84692) next »