Tom Rogers wrote:

With call_user_function() you need to do this:

call_user_func("fun", &$var);


Tom, this won't work due to the Call-Time Pass-By-Reference deprecation.

Does anyone know how to do this?

The error message says "If you would like to pass it by reference, modify the declaration of call_user_func()" ... how would i do this?

Andrew

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



Reply via email to