note 79151 added to function.is-callable
| From: | QuisstrrevTAomicidiostrrevTODcom at osu1 dot php dot net | Date: | Tue, 13 Nov 2007 23:50:57 +0000 |
| Subject: | note 79151 added to function.is-callable | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-132236@lists.php.net to get a copy of this message | ||
is_callable() does _not_ check wheter this function is disabled by php.ini's disable_functions
use:
<?PHP
function is_disabled($function) {
$disabled_functions=explode(',',ini_get('disable_functions'));
return in_array($function, $disabled_functions);
}
?>
I`m running PHP 5.2.4
----
Server IP: 83.137.20.135
Probable Submitter: 82.174.113.83
----
Manual Page -- http://www.php.net/manual/en/function.is-callable.php
Edit -- https://master.php.net/note/edit/79151
Del: integrated -- https://master.php.net/note/delete/79151/integrated
Del: useless -- https://master.php.net/note/delete/79151/useless
Del: bad code -- https://master.php.net/note/delete/79151/bad+code
Del: spam -- https://master.php.net/note/delete/79151/spam
Del: non-english -- https://master.php.net/note/delete/79151/non-english
Del: in docs -- https://master.php.net/note/delete/79151/in+docs
Del: other reasons-- https://master.php.net/note/delete/79151
Reject -- https://master.php.net/note/reject/79151
Search -- https://master.php.net/manage/user-notes.php