Name
setlocale
Synopsis
string setlocale(mixedcategory, stringlocale)
Sets the locale for category functions to
locale. Returns the current locale after
being set, or false if the locale cannot be set.
Any number of options for category can be
added (or ORed) together. The following options are available:
|
|
All of the following categories |
|
|
String comparisons |
|
|
Character classification and conversion |
|
|
Monetary functions |
|
|
Numeric functions |
|
|
Time and date formatting |
If locale is 0 or the
empty string, the current locale is unaffected.