PHP » GoLang |
login |
register |
about
|
GoLang Locale::getDisplayRegion
request it (356)
GoLang replacement for PHP's Locale::getDisplayRegion
[edit | history]
Locale::getDisplayRegionlocale_get_display_region(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) Locale::getDisplayRegion -- locale_get_display_region — Returns an appropriately localized display name for region of the input locale DescriptionObject oriented style
public
static
string
Locale::getDisplayRegion
( string
$locale
[, string $in_locale
] )Procedural style
string
locale_get_display_region
( string
$locale
[, string $in_locale
] )
Returns an appropriately localized display name for region of the input
locale. If is Parameters
Return Valuesdisplay name of the region for the $locale in the format appropriate for $in_locale. ExamplesExample #1 locale_get_display_region() example
<?php Example #2 OO example
<?php The above example will output: Italy; Italie; Italien See Also
|
more
Recently updated
more
Most requested
more
Last requests
|