Re: Proposal for PHP 7 : case-sensitive symbols
| From: | Stanislav Malyshev | Date: | Sun, 21 Dec 2014 05:14:06 +0000 |
| Subject: | Re: Proposal for PHP 7 : case-sensitive symbols | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-79839@lists.php.net to get a copy of this message | ||
Hi!
> is not recommended at all. Keeping not recommended spec forever is not
> a good idea. IMHO. Using strtolower() all over place in the Engine to keep
There's a huge difference between "not recommended" and breaking the
code. Using if() without braces, or inconsistent indentation - is not
recommended. Making such code not work would be a huge mistake.
> It's BC, but it would be easy spot it by an compatibility check script. Once
> case is used properly, scripts run both new and old PHP. Therefore,
> BC issue is not critical.
There's no "therefore" - you'll still have to fix all that code, and if
you think it all will be findable by a simple script, you severely
underestimate the dynamic nature of things people do with PHP. This is a
very big change and should not be dismissed lightly.
--
Stas Malyshev
smalyshev@gmail.com