Joffrey Van Wageningen wrote:

> its possible to create lambda-style functions with create_function() and
> redeclare the variable functions
> 
> ---
> $funct = create_function('$x', 'return ++$x;');
> echo $funct(10);
> 
> $funct = create_function('$x', 'return --$x;');
> echo $funct(10);
> ---
> 
> its fun to create array's of functions :) try it :P
> 
> with kind regards,
> Joffrey van Wageningen


APD can rename/redeclare functions also.

http://apd.communityconnect.com/

--
Yasuo Ohgaki


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to