note 46318 added to function.function-exists
| From: | darkdotryderatgmaildotcom at osu1 dot php dot net | Date: | Wed, 06 Oct 2004 23:49:34 +0000 |
| Subject: | note 46318 added to function.function-exists | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-78102@lists.php.net to get a copy of this message | ||
A note of caution: function_exists() appears to be case-insensitive (at least as of PHP 4.3.8).
e.g.:
<?php
function MyCasedFunction() {
return true;
}
// Will return true, even though casing is "wrong"
if (function_exists("mYcAsEdFuNcTiOn"))
echo "I see it!";
?>
----
Manual Page -- http://www.php.net/manual/en/function.function-exists.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+46318
Delete -- http://master.php.net/manage/user-notes.php?action=delete+46318&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+46318&report=yes
Search -- http://master.php.net/manage/user-notes.php