PHP » GoLang |
login |
register |
about
|
GoLang Locale::getRegion
request it (401)
GoLang replacement for PHP's Locale::getRegion
[edit | history]
Locale::getRegionlocale_get_region(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) Locale::getRegion -- locale_get_region — Gets 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
|
more
Recently updated
more
Most requested
more
Last requests
|