note 8154 modified in call_user_func by ronabop
| From: | ronabop@php.net | Date: | Thu, 31 Aug 2000 06:27:34 +0000 |
| Subject: | note 8154 modified in call_user_func by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-3762@lists.php.net to get a copy of this message | ||
Trying to call a class method with call_user_function? call_user_method doesn't really work
since you need an object to pass to the call. You can get around it by creating a 'place
holder' instance and call_user_method.
http://www.php.net/manual/function.call-user-func.php