Locale::lookuplocale_lookup(No version information available, might be only in CVS) locale_lookup — Searches the language tag list for the best match to the language ОписаниеObject oriented style
static
string
Locale::lookup
( array $langtag
, string $locale
, string $default
)
Procedural style
string
locale_lookup
( array $langtag
, string $locale
, string $default
)
Searches the items in langtag for the best match to the language range specified in locale according to RFC 4647's lookup algorithm. Список параметров
Возвращаемые значенияThe closest matching language tag or default value. ПримерыПример #1 locale_lookup() example
<?phpПример #2 OO example
<?phpРезультат выполнения данного примера:
|
|
|
| © 2009 Тест скорости интернета | Boont.Ru |