|
Locale::setDefaultlocale_set_defaultsets the default runtime locale DescriptionObject oriented style
public
static
bool
Locale::setDefault
( string
$locale
)Procedural style
bool
locale_set_default
( string
$locale
)Sets the default runtime locale to $locale. This changes the value of INTL global 'default_locale' locale identifier. UAX #35 extensions are accepted. Parameters
Return Values
Returns ExamplesExample #1 locale_set_default example
<?php Example #2 OO example
<?php The above example will output: de-DE See Also
|