php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1324 function_exists is case sensitive
Submitted: 1999-04-16 22:42 UTC Modified: 2007-04-27 11:40 UTC
From: cclarke at netcom dot com Assigned:
Status: Closed Package: *General Issues
PHP Version: 3.0.7 OS: Linux
Private report: No CVE-ID: None
 [1999-04-16 22:42 UTC] cclarke at netcom dot com
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 */

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-04-17 00:26 UTC] andrei
Fixed in CVS.
 
PHP Copyright © 2001-2017 The PHP Group
All rights reserved.
Last updated: Sun Nov 19 01:31:42 2017 UTC