Re: Zend Constants PATCH

From: Date: Tue, 18 Jun 2002 18:55:52 +0000
Subject: Re: Zend Constants PATCH
References: 1 2 3  Groups: php.dev 
Request: Send a blank email to php-dev+get-85323@lists.php.net to get a copy of this message
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

« previous php.dev (#85323) next »