note 69149 added to function.is-callable
| From: | hcblue at osu1 dot php dot net | Date: | Thu, 24 Aug 2006 20:51:32 +0000 |
| Subject: | note 69149 added to function.is-callable | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-116282@lists.php.net to get a copy of this message | ||
True that method_exists() is faster than is_callable(). However, is_callable() will be able to
correctly recognize method calls handled by __call() in PHP 5, while method_exists() will not.
----
Server IP: 64.71.164.2
Probable Submitter: 128.2.146.10
----
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.is-callable.php
Edit -- https://master.php.net/note/edit/69149
Del: integrated -- https://master.php.net/note/delete/69149/integrated
Del: useless -- https://master.php.net/note/delete/69149/useless
Del: bad code -- https://master.php.net/note/delete/69149/bad+code
Del: spam -- https://master.php.net/note/delete/69149/spam
Del: non-english -- https://master.php.net/note/delete/69149/non-english
Del: in docs -- https://master.php.net/note/delete/69149/in+docs
Del: other reasons-- https://master.php.net/note/delete/69149
Reject -- https://master.php.net/note/reject/69149
Search -- https://master.php.net/manage/user-notes.php