Date: 12/15/00
- Next message: Anil Madhavapeddy: "Re: [PHP-DEV] libmcrypt patch"
- Previous message: sniper <email protected>: "[PHP-DEV] PHP 4.0 Bug #7795 Updated: Duplicate symbol gdImageColorResolve"
- In reply to: Andi Gutmans: "Re: [PHP-DEV] Adding LC_* constants to ext/standard..."
- Next in thread: Zeev Suraski: "Re: [PHP-DEV] Adding LC_* constants to ext/standard..."
- Reply: Zeev Suraski: "Re: [PHP-DEV] Adding LC_* constants to ext/standard..."
- Reply: Andi Gutmans: "Re: [PHP-DEV] Adding LC_* constants to ext/standard..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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>
- Next message: Anil Madhavapeddy: "Re: [PHP-DEV] libmcrypt patch"
- Previous message: sniper <email protected>: "[PHP-DEV] PHP 4.0 Bug #7795 Updated: Duplicate symbol gdImageColorResolve"
- In reply to: Andi Gutmans: "Re: [PHP-DEV] Adding LC_* constants to ext/standard..."
- Next in thread: Zeev Suraski: "Re: [PHP-DEV] Adding LC_* constants to ext/standard..."
- Reply: Zeev Suraski: "Re: [PHP-DEV] Adding LC_* constants to ext/standard..."
- Reply: Andi Gutmans: "Re: [PHP-DEV] Adding LC_* constants to ext/standard..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

