Re: Deprecate and remove case-insensitive constants?
| From: | Christoph M. Becker | Date: | Tue, 12 Sep 2017 13:04:04 +0000 |
| Subject: | Re: Deprecate and remove case-insensitive constants? | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-100539@lists.php.net to get a copy of this message | ||
On 12.09.2017 at 14:52, François Laupretre wrote:
> What about making PHP 8 100% case-sensitive (except true/false) ? If we
> announce it years in advance, it is possible, IMO.
I don't think we can do that. Consider, for instance, ext/gd where all
functions are actually in lower case, but I've seen a lot of code
written in pascal or camel case to make the functions better readable, e.g.
imageCreateFromJpeg() vs. imagecreatefromjpeg()
--
Christoph M. Becker