note 102797 deleted from function.setlocale by danbrown

From: Date: Mon, 07 Mar 2011 13:51:39 +0000
Subject: note 102797 deleted from function.setlocale by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-177621@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.

« previous php.notes (#177621) next »