Bug #67661 [Opn->Nab]: function_exist doesn't work
| From: | requinix@php.net | Date: | Mon, 21 Jul 2014 17:16:32 +0000 |
| Subject: | Bug #67661 [Opn->Nab]: function_exist doesn't work | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-186765@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=67661&edit=1
ID: 67661
Updated by: requinix@php.net
Reported by: andreagrillo83 at gmail dot com
Summary: function_exist doesn't work
-Status: Open
+Status: Not a bug
Type: Bug
Package: *General Issues
Operating System: Windows 8 64bit
PHP Version: 5.5Git-2014-07-21 (Git)
Block user comment: N
Private report: N
New Comment:
> In php the function name are case sensitive
No, they are not. http://3v4l.org/NqhG0
Previous Comments:
------------------------------------------------------------------------
[2014-07-21 14:25:38] andreagrillo83 at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/function.function-exists
---
In php the function name are case sensitive but the function_exists function isn't case
sensitive. Infact if i defined two function called "test" and "Test" alla
function works great but if i use the function_exist function there isn't a way to distinguish
the two function.
Test script:
---------------
function Test(){}
if( function_exist('test) ){} return true but, if i want, i can declare this functions
function test() and alla works fine, but i can't distinguish the two function.
Expected result:
----------------
false
Actual result:
--------------
true
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=67661&edit=1