note 11775 added to call_user_func
| From: | joyeux at email dot cz | Date: | Tue, 06 Mar 2001 18:55:56 +0000 |
| Subject: | note 11775 added to call_user_func | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-11942@lists.php.net to get a copy of this message | ||
I don't know how to do this:
function test(&$var) {
$var++;}
$number=0;
call_user_func("test",$number);
echo($number);
if "&" is used (&$var) the call_user_func does:
Warning: Unable to test() - function does not exist in...
http://www.php.net/manual/en/function.call-user-func.php