note 49879 added to function.is-callable
| From: | mcroghan at digitalkeg dot com | Date: | Fri, 11 Feb 2005 03:36:58 +0000 |
| Subject: | note 49879 added to function.is-callable | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-84822@lists.php.net to get a copy of this message | ||
Be careful when using this function and __call (PHP5). This function will always report true when
using __call.
Need a specific function for the purpose of checking if a class method exists explicitly even when
using __call.
Haven't ruled out the possibility of the existence of such a function yet. So if someone knows
of one, please point it out.
----
Manual Page -- http://www.php.net/manual/en/function.is-callable.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+49879
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+49879&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+49879&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+49879&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+49879&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+49879&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+49879&report=yes
Search -- http://master.php.net/manage/user-notes.php