|
Locale::filterMatcheslocale_filter_matchesChecks if a language tag filter matches with locale DescriptionObject-oriented style
public static boolnull Locale::filterMatches(string
$languageTag , string $locale , bool $canonicalize = false )Procedural style boolnull locale_filter_matches(string
$languageTag , string $locale , bool $canonicalize = false )
Checks if a Parameters
Return Values
Returns ExamplesExample #1 locale_filter_matches example
Example #2 OO example
The above example will output: Does not match; Matches See Also
|