PHP » GoLang |
login |
register |
about
|
GoLang Locale::composeLocale
request it (285)
GoLang replacement for PHP's Locale::composeLocale
[edit | history]
Locale::composeLocalelocale_compose(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) Locale::composeLocale -- locale_compose — Returns a correctly ordered and delimited locale ID DescriptionObject oriented style
public
static
string
Locale::composeLocale
( array
$subtags
)Procedural style
string
locale_compose
( array
$subtags
)Returns a correctly ordered and delimited locale ID the keys identify the particular locale ID subtags, and the values are the associated subtag values. Parameters
Return ValuesThe corresponding locale identifier. ExamplesExample #1 locale_compose() example
<?php Example #2 OO example
<?php The above example will output: Locale: en_Hans_CN_nedis_rozaj_x_prv1_prv2 |
more
Recently updated
more
Most requested
more
Last requests
|