|
Locale::getRegionlocale_get_regionGets the region for the input locale DescriptionObject oriented style
public
static
string
Locale::getRegion
( string
$locale
)Procedural style
string
locale_get_region
( string
$locale
)Gets the region for the input locale. Parameters
Return Values
The region subtag for the locale or ExamplesExample #1 locale_get_region example
<?php Example #2 OO example
<?php The above example will output: CH See Also
|