note 102797 deleted from function.setlocale by danbrown

[email protected]
Newsgroups php.notes
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.