Re: Adding LC_* constants to ext/standard...
| From: | Andi Gutmans | Date: | Fri, 15 Dec 2000 23:50:14 +0000 |
| Subject: | Re: Adding LC_* constants to ext/standard... | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-41531@lists.php.net to get a copy of this message | ||
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)--- Andi Gutmans <andi@zend.com> http://www.zend.com/^^^^^^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@six.de http://www.six.de +49-711-99091-77