Re: Zend Constants PATCH

From: Date: Wed, 19 Jun 2002 11:29:32 +0000
Subject: Re: Zend Constants PATCH
References: 1 2 3 4  Groups: php.dev 
Request: Send a blank email to php-dev+get-85337@lists.php.net to get a copy of this message
On Tue, 2002-06-18 at 20:55, Andi Gutmans wrote: > 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. This is definitely an issue that needs to be resolved for 4.3. I'm putting it on my list of stuff to monitor. - Stig -- Stig Sæther Bakken, Fast Search & Transfer ASA, Trondheim, Norway http://pear.php.net/wishlist.php/ssb

« previous php.dev (#85337) next »