Re: call_user_func_array problem?
| From: | Pierre-Alain Joye | Date: | Wed, 07 Aug 2002 09:05:48 +0000 |
| Subject: | Re: call_user_func_array problem? | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-2066@lists.php.net to get a copy of this message | ||
On Tue, 6 Aug 2002 22:26:06 -0700 (PDT)
Brad Bulger <tater@potatoe.com> wrote:
>
> 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?
used call_user_method() instead.
pa