note 8154 deleted from function.call-user-func by sp
| From: | sp@php.net | Date: | Fri, 06 Aug 2010 10:20:27 +0000 |
| Subject: | note 8154 deleted from function.call-user-func by sp | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-171426@lists.php.net to get a copy of this message | ||
Note Submitter: tetherow at nol dot org
----
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.