From: [EMAIL PROTECTED] Operating system: Any PHP version: 5CVS-2003-04-02 (dev) PHP Bug Type: Feature/Change Request Bug description: Make Zend case-sensitive (classes, functions, remove case-insensitive)
Keep subject for bugdb searching. Make Zend case-sensitive (and therefore PHP) in regards to namesapces, classes, functions. Basically everything which is currently str_tolower()d inside the engine. This is just a meta-bug to keep track of suggestions to this topic. A big "NO" is to make such a thing php.ini dependant ("Not yet another switch") but truly case-sensitive. For a start our great Hero[tm] Andrei has made a patch some time ago against ZE2 to achive this goal (see http://www.gravitonic.com/software/php/ ). It doesn't apply cleanly to current HEAD but given the patch size it should be trivial to get it working. The big "contra" many people are concerned is BC (backwards compatibility). Yes, face it. Changing this behaviour will definitely break millions of scripts. I'm having bad dreams remembering reading code like $db = MySQL_Connect (and therefore failing my search for it with 'grep mysql_connect *' because I was to lazy about three extra characters ;). Also see (bogusified) bug http://bugs.php.net/bug.php?id=15415 for a VOTE on this issue. Ok, there we go :) -- Edit bug report at http://bugs.php.net/?id=23026&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=23026&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=23026&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=23026&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=23026&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=23026&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=23026&r=support Expected behavior: http://bugs.php.net/fix.php?id=23026&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=23026&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=23026&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=23026&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23026&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=23026&r=dst IIS Stability: http://bugs.php.net/fix.php?id=23026&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=23026&r=gnused