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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: cclarke at netcom dot com
New email:
PHP Version: OS:

 

 [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

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-04-17 00:26 UTC] andrei
Fixed in CVS.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Feb 05 17:01:30 2025 UTC