|
NumberFormatter::getLocalenumfmt_get_localeGet formatter locale DescriptionObject oriented style
public
string
NumberFormatter::getLocale
([ int
$type
] )Procedural style
string
numfmt_get_locale
( NumberFormatter
$fmt
[, int $type
] )Get formatter locale name. Parameters
Return ValuesThe locale name used to create the formatter. ExamplesExample #1 numfmt_get_locale example
<?php The above example will output: Requested locale name: fr_FR_PARIS Valid locale name: fr_FR Actual locale name: fr See Also
|