|
Collator::getLocalecollator_get_localeGet the locale name of the collator DescriptionObject oriented style
public
string
Collator::getLocale
( int
$type
)Procedural style
string
collator_get_locale
( Collator
$coll
, int $type
)Get collector locale name. Parameters
Return Values
Real locale name from which the collation data comes. If the collator was
instantiated from rules or an error occurred, returns
boolean Examples
Example #1 collator_get_locale example
<?php The above example will output: Requested locale name: en_US_California Valid locale name: en_US Actual locale name: en See Also
|