Re: [PHP-DEV] Adding LC_* constants to ext/standard... From: Zeev Suraski (zeev <email protected>)
Date: 12/15/00

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 <email protected>>
CTO &  co-founder, Zend Technologies Ltd. http://www.zend.com/

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>