Re: Proposal for PHP 7 : case-sensitive symbols

From: Date: Sat, 20 Dec 2014 22:55:02 +0000
Subject: Re: Proposal for PHP 7 : case-sensitive symbols
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-79829@lists.php.net to get a copy of this message
Hey Alain, > On 20 Dec 2014, at 22:52, Alain Williams <addw@phcomp.co.uk> wrote: > > On Sat, Dec 20, 2014 at 10:45:39PM +0000, Andrea Faulds wrote: > >> I would like to see more case uniformity, but I think this is the less practical direction. >> Instead of making everything case-sensitive, we should make everything case-insensitive, which would >> break far less stuff, and is a smaller change. That’d mean constants, variable names and >> properties would need changing, everything else is already case-insensitive. > > As I said: this is only partly true; true if you are a Brit or a Yank .... > everyone else who has alphabetics that are represented by bytes with the top bit > set sees them as case sensitive in those parts. That’s true. Although mixing English and another language in source code isn’t a terribly good idea anyway. > It is a BC break, but a very unusual one in that once code is fixed in, say PHP > 7, it would continue to work when copies back to a PHP 5 environment. This isn’t that unusual among BC breaks, honestly. Thanks. -- Andrea Faulds http://ajf.me/

« previous php.internals (#79829) next »