|
MessageFormatter::getLocalemsgfmt_get_localeGet the locale for which the formatter was created. DescriptionObject oriented style
public
string
MessageFormatter::getLocale
( void
)
Procedural style
string
msgfmt_get_locale
( NumberFormatter
$formatter
)Get the locale for which the formatter was created. Parameters
Return ValuesThe locale name ExamplesExample #1 msgfmt_get_locale example
<?php Example #2 OO example
<?php The above example will output: en_US See Also
|