Re: PHP and case-sensitivity inconsistency in PHP 6

From: Date: Sun, 26 Jan 2014 19:26:22 +0000
Subject: Re: PHP and case-sensitivity inconsistency in PHP 6
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-71593@lists.php.net to get a copy of this message
Andrea Faulds wrote:
Good evening all, With the recent discussions making it likely we'll start thinking about things to add, and more importantly, break in PHP 6, I'd like to bring up the topic of case-sensitivity in PHP again. Would it be possible for us to finally be consistent in PHP 6, with everything being case-sensitive (or case-insensitive, as the case may be)? It would be a quite major backwards-compatibility break, but it would also be one that an automated tool could easily fix your code for. Perhaps something like Python's 2to3. Thoughts?
Personally I do take great care to be consistent in my use of 'case' mainly because of problems when switching between Linux and Windows. Early on I kept hitting problems with libraries that worked fine on Windows, but failed on Linux because someone had been lax on file names! I'm still hitting that problem even today. Therefore I would be more than happy to see the general adoption of case-sensitive naming! -- Lester Caine - G8HFL ----------------------------- Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk Rainbow Digital Media - http://rainbowdigitalmedia.co.uk

« previous php.internals (#71593) next »