|
NumberFormatter::getLocalenumfmt_get_localeGet formatter locale DescriptionObject-oriented style
public stringfalse NumberFormatter::getLocale(int
$type = ULOC_ACTUAL_LOCALE)Procedural style stringfalse numfmt_get_locale(NumberFormatter
$formatter, int $type = ULOC_ACTUAL_LOCALE)Get formatter locale name. Parameters
Return Values
The locale name used to create the formatter, or ExamplesExample #1 numfmt_get_locale example The above example will output: Requested locale name: fr_FR_PARIS Valid locale name: fr_FR Actual locale name: fr See Also
|