Locale::getDefaultlocale_get_default(PHP 5 >= 5.3.0, PECL intl >= 1.0.0) Locale::getDefault -- locale_get_default — Gets the default locale value from the INTL global 'default_locale' ОписаниеОбъектно-ориентированный стиль
static
string
Locale::getDefault
( void
)
Процедурный стиль
string
locale_get_default
( void
)
Gets the default locale value. At the PHP initialization this value is set to 'intl.default_locale' value from php.ini if that value exists or from ICU's function uloc_getDefault(). Список параметров
Возвращаемые значенияThe current runtime locale ПримерыПример #1 locale_get_default() example
<?phpПример #2 OO example
<?phpРезультат выполнения данного примера: de-DE; fr |
||