Re: call_user_func and call-time pass-by-reference
| From: | Andrew Nagy | Date: | Fri, 02 Jul 2004 17:00:22 +0000 |
| Subject: | Re: call_user_func and call-time pass-by-reference | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-189550@lists.php.net to get a copy of this message | ||
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