note 68416 deleted from function.call-user-func by danbrown
| From: | danbrown@php.net | Date: | Sat, 19 Jul 2008 21:04:37 +0000 |
| Subject: | note 68416 deleted from function.call-user-func by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-141738@lists.php.net to get a copy of this message | ||
Note Submitter:
----
Re: bostjan dot skufca at domenca dot com 's comment
"If you need to call object method from within the very same object (NOT CLASS!):
call_user_func(array(&$this, 'methodFoo'));"
This particular case will not work. The user functions can only be successfully called (as the
documentation alludes to), with static calls to class functions.