Bug #1324: function_exists is case sensitive
| From: | cclarke at netcom dot com | Date: | Sat, 17 Apr 1999 02:42:39 +0000 |
| Subject: | Bug #1324: function_exists is case sensitive | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-5106@lists.php.net to get a copy of this message | ||
From: cclarke@netcom.com
Operating system: Linux
PHP version: 3.0.7
PHP Bug Type: Misbehaving function
Bug description: function_exists is case sensitive
function_exists() only returns true if passed the name of a function
in all lower case.
so:
function Test() { print "Hello, world\n"; }
Test(); /* calls function */
function_exists("Test"); /* returns false */
function_exists("test"); /* returns true */
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net