The parameter category is a string that specifies the type of function that is affected by the locale setting:
Lc_all-All of the following settings
Lc_collate-string comparison-not the current PHP tool
LC_CTYPE-character classification and conversion, for example: Strtoupper ()
Lc_monetary-as Localeconv ()-Not the current PHP tool
Lc_numeric-the distinguished person of the decimal point
Lc_time-Date and time format, with Strftime ()
If the parameter locale is an empty string "", the locale name will be set to the value of the environment variable categories the same name as above, or from "LANG".
If the parameter locale is zero or "0", the locale setting is not affected and only the current setting is returned.
SetLocale () returns a new current location (locale) that returns false if the platform fails to perform the function of the site, the specified site does not exist, or if the name of the type (category) is invalid. An invalid kind name can cause a warning message.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.