note 93294 added to function.call-user-func
| From: | coyote4til7 at gmail dot com | Date: | Tue, 01 Sep 2009 22:24:53 +0000 |
| Subject: | note 93294 added to function.call-user-func | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-160136@lists.php.net to get a copy of this message | ||
As a note, as of 5.2.6 (at least on FreeBSD), the documentation is wrong.
This does not work:
call_user_func($classname .'::say_hello'); // As of 5.2.3
This does:
call_user_func(array($classname, 'say_hello'));
----
Server IP: 209.41.74.194
Probable Submitter: 75.151.84.241
----
Manual Page -- http://www.php.net/manual/en/function.call-user-func.php
Edit -- https://master.php.net/note/edit/93294
Del: integrated -- https://master.php.net/note/delete/93294/integrated
Del: useless -- https://master.php.net/note/delete/93294/useless
Del: bad code -- https://master.php.net/note/delete/93294/bad+code
Del: spam -- https://master.php.net/note/delete/93294/spam
Del: non-english -- https://master.php.net/note/delete/93294/non-english
Del: in docs -- https://master.php.net/note/delete/93294/in+docs
Del: other reasons-- https://master.php.net/note/delete/93294
Reject -- https://master.php.net/note/reject/93294
Search -- https://master.php.net/manage/user-notes.php