At 04:07 PM 6/18/2002 +0200, Hartmut Holzgraefe wrote: >Ilia A. wrote: > >>By using a functiont that does not support lowercasing, would also cause >>problems, since if a constant name contains non english characters it >>would break. IMHO the best implementation is to simply not lowercase >>constant names unless the user specifically whats case insensetive locale. > >the language parser should not be affected by locale settings at all, >so we need a locale independant zend_str_tolower() function or make >sure we have 'C' or 'POSIX' locale
Right. For example, decimal's in PHP use a . (e.g. 3.14). This should always be the case even if the locale uses a different separator like , in German. Andi -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php