Re: Adding LC_* constants to ext/standard...

From: Date: Fri, 15 Dec 2000 14:02:53 +0000
Subject: Re: Adding LC_* constants to ext/standard...
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-41452@lists.php.net to get a copy of this message
Why would you need to change setlocale()? The constants are constants. It will automatically work. Andi At 01:37 PM 12/15/00 +0200, Jani Taskinen wrote:
On Thu, 14 Dec 2000, Zak Greant wrote: Hartmut suggested that the LC_* constants that I added to the gettext extension should actually be defined in ext/standard and that setlocale() should be modified to use them. This seems like a good idea to me - does anyone have any objections to this being done? No, because it's done already. :) I moved them away from ext/gettext/ into ext/standard/ but I didn't yet modify setlocale() to use them..I asked for comments about it but I seem to have posted it on php-cvs and not on php-dev.. Should setlocale() be modified to use only the constants and not support the strings anymore? Or support both ways? --Jani -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net For additional commands, e-mail: php-dev-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net
--- Andi Gutmans <andi@zend.com> http://www.zend.com/

« previous php.dev (#41452) next »