Date: 12/15/00
- Next message: jmoore <email protected>: "[PHP-DEV] PHP 4.0 Bug #8095 Updated: Documentation text is hard to decifer"
- Previous message: dbellizzi <email protected>: "[PHP-DEV] PHP 4.0 Bug #8287: Parse error around empty() when parameter is a object member function"
- In reply to: Hartmut Holzgraefe: "Re: [PHP-DEV] Adding LC_* constants to ext/standard..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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>
- Next message: jmoore <email protected>: "[PHP-DEV] PHP 4.0 Bug #8095 Updated: Documentation text is hard to decifer"
- Previous message: dbellizzi <email protected>: "[PHP-DEV] PHP 4.0 Bug #8287: Parse error around empty() when parameter is a object member function"
- In reply to: Hartmut Holzgraefe: "Re: [PHP-DEV] Adding LC_* constants to ext/standard..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

