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
Locale::filterMatches -- locale_filter_matches — Checks if a language tag filter matches with locale
Return Values true if locale matches languageTagfalse otherwise. Returns null when the length of locale exceeds INTL_MAX_LOCALE_LEN.
Locale::filterMatches locale_filter_matches (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
(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) Checks if a language tag filter matches with locale
The Locale class (and related procedural functions) are used to interact with locale identifiers--to verify that an ID is well-formed, valid, etc. The extensions used by CLDR in UAX #35 (and inherited by ICU) are valid and used wherever they would be in ICU normally. Locales cannot be instantiated as objects.
