note 57631 added to function.is-callable
| From: | wasti dot redl at gmx dot net | Date: | Sun, 09 Oct 2005 11:14:51 +0000 |
| Subject: | note 57631 added to function.is-callable | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-96749@lists.php.net to get a copy of this message | ||
The way to discover whether a method exists in face of a __call is reflection.
It should be mentioned that although array('Test', 'func') is callable according
to this function (where func is a public static method of Test), actually calling this construct as
$fn() fails.
----
Manual Page -- http://www.php.net/manual/en/function.is-callable.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+57631
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+57631&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+57631&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+57631&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+57631&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+57631&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+57631&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+57631&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+57631&report=yes
Search -- http://master.php.net/manage/user-notes.php