scott [gts] wrote:
> i've been reading over the docs on references, and i
> can't see anyway to pass around functions as references.
> i know how to do this easily with perl, but i cannot
> seem to find the correct syntax for creating a reference
> to a function in PHP.
>[..]
> any and all help is appreciated.

I dont't think there is something like that in PHP, but variable 
functions might help you:
http://php.net/manual/en/functions.variable-functions.php

call_user_func() is often cleaner, though.

http://php.net/manual/en/ref.funchand.php

Also have a look at call_user_method() and the other functions in this 
section of the manual.

regards
Wagner

-- 
Madness takes its toll. Please have exact change.

-- 
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