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

Andi Gutmans wrote:
>
> Why would you need to change setlocale()? The constants are constants. It
> will automatically work.

current prototype:

  string setlocale (string category, string locale)
                    ^^^^^^

new prototype:

  string setlocale (int category, string locale)
                    ^^^
or

  string setlocale (mixed category, string locale)
                    ^^^^^

>
> >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 :(

-- 
Hartmut Holzgraefe  hartmut <email protected>  http://www.six.de  +49-711-99091-77

-- 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>