|
Locale::composeLocalelocale_composeReturns 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 See Also
|