Re: Re: PHP 5.2.1RC3 Released
| From: | Ilia Alshanetsky | Date: | Thu, 25 Jan 2007 14:39:04 +0000 |
| Subject: | Re: Re: PHP 5.2.1RC3 Released | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-27650@lists.php.net to get a copy of this message | ||
On 25-Jan-07, at 9:04 AM, Tomas Kuliavas wrote:
PHP needs locale insensitive strcasecmp() or your developers will continue hitting string comparison issues in Turkish and Azerbaijani. Ilia patched it in timezone parsing code. Some day other strcasecmp will pop in other place. Switching locale everytime you want to compare strings is a hack and not a bug fix.Its a solution that works. There are very few instances where such behavior is needed and in php6 it won't be relevant anyway since posix locales will not be used. Ilia Alshanetsky