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:

call_user_func() is often cleaner, though.

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


Madness takes its toll. Please have exact change.

PHP General Mailing List (
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