|
Locale::getDefaultlocale_get_defaultGets the default locale value from the INTL global 'default_locale' DescriptionObject-oriented style
public static string Locale::getDefault()
Procedural style string locale_get_default()
Gets the default locale value. At the PHP initialization this value is set to 'intl.default_locale' value from php.ini if that value exists or from ICU's function uloc_getDefault(). Parameters
Return ValuesThe current runtime locale ExamplesExample #1 locale_get_default example
Example #2 OO example
The above example will output: de-DE; fr See Also
|