note 69270 added to function.call-user-func
| From: | watchout at no dot spam dot please | Date: | Tue, 29 Aug 2006 13:05:38 +0000 |
| Subject: | note 69270 added to function.call-user-func | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-116470@lists.php.net to get a copy of this message | ||
> 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.
actually it *does* work on PHP 5.0.2 (tested), and should also work on PHP 4.3.x (untested). Also
the documentation does not state that only calls to static class methods are possible, but it says
clearly that calls to OBJECT (thats dynamic) methods are possible: http://cz.php.net/manual/en/language.pseudo-types.php
(see under type callback)
----
Server IP: 212.24.129.110
Probable Submitter: 213.160.193.7
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/function.call-user-func.php
Edit -- https://master.php.net/note/edit/69270
Del: integrated -- https://master.php.net/note/delete/69270/integrated
Del: useless -- https://master.php.net/note/delete/69270/useless
Del: bad code -- https://master.php.net/note/delete/69270/bad+code
Del: spam -- https://master.php.net/note/delete/69270/spam
Del: non-english -- https://master.php.net/note/delete/69270/non-english
Del: in docs -- https://master.php.net/note/delete/69270/in+docs
Del: other reasons-- https://master.php.net/note/delete/69270
Reject -- https://master.php.net/note/reject/69270
Search -- https://master.php.net/manage/user-notes.php