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

From: Date: Fri, 15 Dec 2000 14:28:24 +0000
Subject: Re: Adding LC_* constants to ext/standard...
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-41457@lists.php.net to get a copy of this message
At 16:16 15/12/2000, Hartmut Holzgraefe wrote:
On Thu, 14 Dec 2000, Zak Greant wrote: Should setlocale() be modified to use only the constants and not support the strings anymore? Or support both ways?
definetly both due to compatibility reasons :(
I'd start by supporting both, but issue E_NOTICE's when using the string version, and announce that support for the string version will be discontinued in the future. In a few miniversions, we can stay with just the constants. Zeev -- Zeev Suraski <zeev@zend.com> CTO & co-founder, Zend Technologies Ltd. http://www.zend.com/

« previous php.dev (#41457) next »