note 127213 added to function.is-callable
| From: | php dot net at scare dot ca | Date: | Sun, 03 Jul 2022 00:42:16 +0000 |
| Subject: | note 127213 added to function.is-callable | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-218888@lists.php.net to get a copy of this message | ||
Note that is_callable('_') will return true, since there is a built-in function called
"_". It is an alias for gettext().
https://www.php.net/manual/en/function.gettext.php
Searching this site for a function named "_" does not return a result, but it's the
first result in a search for "_()".
----
Server IP: 45.112.84.4
Probable Submitter: 45.91.157.133 (proxied: 50.72.146.67)
----
Manual Page -- https://php.net/manual/en/function.is-callable.php
Edit -- https://main.php.net/note/edit/127213
Del: integrated -- https://main.php.net/note/delete/127213/integrated
Del: useless -- https://main.php.net/note/delete/127213/useless
Del: bad code -- https://main.php.net/note/delete/127213/bad+code
Del: spam -- https://main.php.net/note/delete/127213/spam
Del: non-english -- https://main.php.net/note/delete/127213/non-english
Del: in docs -- https://main.php.net/note/delete/127213/in+docs
Del: other reasons-- https://main.php.net/note/delete/127213
Reject -- https://main.php.net/note/reject/127213
Search -- https://main.php.net/manage/user-notes.php