[nycphp-talk] mystery parameter for process method in PEAR, HTML_QuickForm
Adam Maccabee Trachtenberg
adam at trachtenberg.com
Wed Jun 16 01:28:54 EDT 2004
On Wed, 16 Jun 2004, Jayesh Sheth wrote:
> I guess PHP has the unusual concept of "user defined" or "variable"
> functions (I remember seeing something similar in the lib/main.php file
> of WikkiTikkiTavi) ... and it is passing the array of submitted data as
> a parameter to whatever the user-defined call-back function is.
This is an old school programming convention. In LISP people often
define functions on the fly and invoke them.
-adam
--
adam at trachtenberg.com
author of o'reilly's php cookbook
avoid the holiday rush, buy your copy today!
More information about the talk
mailing list