#23026 [Opn->Bgs]: Make Zend case-sensitive (classes, functions, remove case-insensitive)
| From: | john@php.net | Date: | Mon, 08 Nov 2004 11:15:04 +0000 |
| Subject: | #23026 [Opn->Bgs]: Make Zend case-sensitive (classes, functions, remove case-insensitive) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-68801@lists.php.net to get a copy of this message | ||
ID: 23026
Updated by: john@php.net
Reported By: mfischer@php.net
-Status: Open
+Status: Bogus
Bug Type: Feature/Change Request
Operating System: Any
PHP Version: 5CVS-2003-04-02 (dev)
New Comment:
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
Previous Comments:
------------------------------------------------------------------------
[2003-04-02 15:08:03] mfischer@php.net
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 this bug report at http://bugs.php.net/?id=23026&edit=1