Re: Deprecate and remove case-insensitive constants?

From: Date: Sat, 16 Sep 2017 10:50:12 +0000
Subject: Re: Deprecate and remove case-insensitive constants?
References: 1 2 3 4 5 6 7 8 9 10 11  Groups: php.internals 
Request: Send a blank email to internals+get-100672@lists.php.net to get a copy of this message
"Alain Williams" wrote in message news:20170916094055.GM8096@phcomp.co.uk...
On Sat, Sep 16, 2017 at 10:29:26AM +0100, Tony Marston wrote:
People keep telling me that switching between upper and lower case for all character sets in the universe is not 100% simple because of a small number of exceptions. So what? Identify the exceptions and write code which deals with them.
Thereby increasing the complexity of the PHP engine - which means more bugs and slower execution. It also makes it harder for the user to understand: they need to get their heads round the corner cases.
There should be no need to complicate the entire PHP engine. Just fix the UNICODE exceptions so that strtoupper() and strtolower() work properly for that small number of peculiar character sets. -- Tony Marston

« previous php.internals (#100672) next »