Search Results
Parameters ¶ languageTag The language tag to check locale The language range to check against canonicalize If true, the arguments will be converted to canonical form before matching.
Locale::filterMatches -- locale_filter_matches — Checks if a language tag filter matches with locale
PHP Manual Function Reference Human Language and Character Encoding Support intl Locale
(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) Locale::filterMatches -- locale_filter_matches — Checks if a language tag filter matches with locale
Locale::filterMatches -- locale_filter_matches — Checks if a language tag filter matches with locale
Introduction A "Locale" is an identifier used to get language, culture, or regionally-specific behavior from an API. PHP locales are organized and identified the same way that the CLDR locales used by ICU (and many vendors of Unix-like operating systems, the Mac, Java, and so forth) use. Locales are identified using RFC 4646 language tags (which use hyphen, not underscore) in addition to the ...
Return Values true if locale matches languageTagfalse otherwise. Returns null when the length of locale exceeds INTL_MAX_LOCALE_LEN.
