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

Oh I thought it always accepted integers.

Andi

At 03:16 PM 12/15/00 +0100, Hartmut Holzgraefe wrote:
>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

---
Andi Gutmans <andi <email protected>>
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>