note 102798 deleted from function.setlocale by danbrown
| From: | danbrown@php.net | Date: | Mon, 07 Mar 2011 13:51:48 +0000 |
| Subject: | note 102798 deleted from function.setlocale by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-177622@lists.php.net to get a copy of this message | ||
Note Submitter: Darwin
----
Anonymous' getlocale() function is wrong. setlocale($category, null) doesn't get the
current locale, but sets the default value.
Call setlocale($category, "0") to get the current locale.