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

----- Original Message -----
From: "Jani Taskinen" <sniper <email protected>>
To: "Zak Greant" <zak <email protected>>
Cc: <php-dev <email protected>>; "Hartmut Holzgraefe" <hartmut <email protected>>
Sent: Friday, December 15, 2000 4:37 AM
Subject: Re: [PHP-DEV] Adding LC_* constants to ext/standard...

> On Thu, 14 Dec 2000, Zak Greant wrote:
>
> >Hartmut suggested that the LC_* constants that I added to the gettext
> >extension should actually be defined in ext/standard and that setlocale()
> >should be modified to use them.
> >
> >This seems like a good idea to me - does anyone have any objections to
this
> >being done?
>
> No, because it's done already. :)
>
> I moved them away from ext/gettext/ into ext/standard/
> but I didn't yet modify setlocale() to use them..I asked
> for comments about it but I seem to have posted it on php-cvs
> and not on php-dev..
>
> Should setlocale() be modified to use only the constants and not
> support the strings anymore? Or support both ways?

I must have missed that message.. :) I would think that setlocale() should
use the strings and the constants - no point in breaking old scripts.

 --zak

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