Bug #67661 [NEW]: function_exist doesn't work

From: Date: Mon, 21 Jul 2014 14:25:39 +0000
Subject: Bug #67661 [NEW]: function_exist doesn't work
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-186764@lists.php.net to get a copy of this message
From: andreagrillo83 at gmail dot com Operating system: Windows 8 64bit PHP version: 5.5Git-2014-07-21 (Git) Package: *General Issues Bug Type: Bug Bug description:function_exist doesn't work 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 bug report at https://bugs.php.net/bug.php?id=67661&edit=1 --

« previous php.bugs (#186764) next »