PHP » GoLang |
login |
register |
about
|
GoLang Locale::setDefault
request it (408)
GoLang replacement for PHP's Locale::setDefault
[edit | history]
Locale::setDefaultlocale_set_default(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) Locale::setDefault -- locale_set_default — Sets 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 |
more
Recently updated
more
Most requested
more
Last requests
|