On Sat, Sep 16, 2017 at 11:04 AM, Zeev Suraski <z...@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 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php