On 17/9/21 6:43 pm, Nikita Popov wrote:
> We've been slowly moving away from locale-dependent functionality.
> Since PHP 8 we no longer inherit any locales from the environment and
> have made float to string conversion locale-independent.
> 
> I would very much support making strtolower() and friends a simple
> ASCII case conversion operation. mb_strtolower() etc already offer
> full Unicode-compliant case conversions that work correctly with
> multi-byte encodings. The locale-sensitivity of strtolower() only
> works with legacy single-byte encodings and as such is of questionable
> usefulness even in cases where it is not actively harmful.
> 
> That said, I do think this change requires an RFC.

Thanks Nikita. I'll write the code and then make an RFC.

-- Tim Starling

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: https://www.php.net/unsub.php

Reply via email to