call_user_method_array() deprecated?
| From: | Sebastian Bergmann | Date: | Sun, 27 Jan 2002 08:54:46 +0000 |
| Subject: | call_user_method_array() deprecated? | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-78228@lists.php.net to get a copy of this message | ||
Using the PEAR Cache with PHP 4.1.1 and E_ALL enabled, a friend of
mine gets:
Warning: The call_user_method_array() function is deprecated, use the
call_user_func variety with the array(&$obj, "method") syntax instead
in C:\php4\pear\Cache\Function.php on line 133
Why has call_user_method_array() been marked as deprecated? In the
manual I don't see a note saying so, and call_user_func() is not
documented to the extent that it accepts the proposed syntax.
Enlighten me,
Sebastian
--
Sebastian Bergmann
http://sebastian-bergmann.de/ http://phpOpenTracker.de/
Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/