Re: bug 18556 - tolower & locales
| From: | Stas Malyshev | Date: | Wed, 11 Jul 2012 16:17:46 +0000 |
| Subject: | Re: bug 18556 - tolower & locales | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-61126@lists.php.net to get a copy of this message | ||
Hi!
> I don't think ASCII-only lowercasing is compatible to the allowed PHP
> identifier characters used by class names and what else.
Right now we use tolower() which is system-dependent, locale-dependent
and doesn't really work with any character that is not 8-bit since it
uses per-character lowercasing. So I'd be very surprised if anybody
actually manages to make non-ASCII class names to work. Is there such
code in existance?
--
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227