Re: PHP4: Using create_function to create an object method

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 23 Dec 2004 15:57:08 -0600, kermodebear@xxxxxxxxxxxxxxx
<kermodebear@xxxxxxxxxxxxxxx> wrote:
> but I did not see anything in the manual that explicitly states that this will
> not work.

create_function -- Create an anonymous (lambda-style) function

The keyword here is anonymous, as in 'not named'.  The anonymous
function you create will have a name but it's not a name you can use,
it's just a randomly generated string for preventing naming
collisions.  That's why you must access anonymous functions with a
variable.


-- 
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux