call_user_func_array problem?
| From: | Brad Bulger | Date: | Wed, 07 Aug 2002 05:26:06 +0000 |
| Subject: | call_user_func_array problem? | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-2065@lists.php.net to get a copy of this message | ||
trying to build recent version of 4.3, pear gets an error:
Warning: call_user_func(): First argumented is expected to be a valid callback,
'PEAR_Command_Build::getCommands' was given in
/usr/local/book/php/share/pear/PEAR/Command.php on line 180
where Command.php is doing
$implements = call_user_func(array($class, "getCommands"));
i thought the array('classname','methodname') style for call_user_func
had been working for a while now - is that not so?