Re: Deprecate and remove case-insensitive constants?

From: Date: Sat, 16 Sep 2017 18:09:46 +0000
Subject: Re: Deprecate and remove case-insensitive constants?
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-100682@lists.php.net to get a copy of this message
On Sat, Sep 16, 2017 at 11:04 AM, Zeev Suraski <zeev@zend.com> wrote: > arguably, making all constants case insensitive > would in fact be the better solution > If they were truly case-insensitive, I might agree. However, as I've mentioned but will reiterate, they're not. They're ASCII case insensitive, and that's a long cry from real case-insensitivity. PHP 6 was planning to make case-insensitivity real but obviously that's dead and buried. This is ugly, but if I'm playing devil's advocate, it is consistent with the rest of the core runtime. -Sara

« previous php.internals (#100682) next »