update : 2015.11.03
php.shukuma.com검색:
|
Locale::lookuplocale_lookup(PHP 5 >= 5.3.0, PECL intl >= 1.0.0) Locale::lookup -- locale_lookup — Searches the language tag list for the best match to the language 설명객체 기반 형식
public
static
string
Locale::lookup
( array
$langtag
, string $locale
[, bool $canonicalize = false
[, string $default
]] )절차식 형식
string
locale_lookup
( array
$langtag
, string $locale
[, bool $canonicalize = false
[, string $default
]] )
Searches the items in 인수
반환값The closest matching language tag or default value. 예제Example #1 locale_lookup() example
<?php Example #2 OO example
<?php 위 예제의 출력: de_de_1996 |