|
Locale::getAllVariantslocale_get_all_variantsGets the variants for the input locale DescriptionObject oriented style
public
static
array
Locale::getAllVariants
( string
$locale
)Procedural style
array
locale_get_all_variants
( string
$locale
)Gets the variants for the input locale Parameters
Return Values
The array containing the list of all variants subtag for the locale
or ExamplesExample #1 locale_get_all_variants example
<?phpExample #2 OO example
<?phpThe above example will output:
array (
0 => 'NEDIS',
1 => 'ROJAZ',
2 => '1901',
)
See Also
|