Latest commit -- depreciation of call_user_method()
| From: | Sterling Hughes | Date: | Mon, 14 May 2001 19:28:33 +0000 |
| Subject: | Latest commit -- depreciation of call_user_method() | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-55231@lists.php.net to get a copy of this message | ||
howdy,
Just sending a note about the deprecation of the call_user_method() functions. It basically sends an E_NOTICE message now when call_user_method() or call_user_method_array() are called. This is because the call_user_method() and call_user_method_array() functions can easily be duplicated by:old way: call_user_method($func, $obj, "method", "args", "go", "here"); new way: call_user_func(array(&$obj, "method"), "method", "args", "go", "here"); Comments? Questions? -Sterling