Re: Proposal for PHP 7 : case-sensitive symbols
| From: | Alain Williams | Date: | Sat, 20 Dec 2014 22:52:19 +0000 |
| Subject: | Re: Proposal for PHP 7 : case-sensitive symbols | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-79828@lists.php.net to get a copy of this message | ||
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.
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.
--
Alain Williams
Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer.
+44 (0) 787 668 0256 http://www.phcomp.co.uk/
Parliament Hill Computers Ltd. Registration Information: http://www.phcomp.co.uk/contact.php
#include <std_disclaimer.h>