Re: Make strtolower/strtoupper just do ASCII

From: Date: Fri, 17 Sep 2021 03:04:32 +0000
Subject: Re: Make strtolower/strtoupper just do ASCII
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-116052@lists.php.net to get a copy of this message
On 17/9/21 12:58 pm, Tim Starling wrote: > I would like to know if a patch to make strtolower and strtoupper do > plain ASCII case conversion would be accepted, or if an RFC should be > created. > In case it's unclear, I mean that strtolower() should do 8-bit clean conversion of letters in the 0-127 range, equivalent to strtr( $val, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz' ); -- Tim Starling

« previous php.internals (#116052) next »