mixed I18Nv2::getInfo (
string $part
= null
)
Get several locale specific information like thousands separator. The provided information debends on the local libc implementation and thus is not always reliable - especially on Microsoft Windows.
Retrieving specific locale information:
<?php
1 require_once 'I18Nv2.php';
2 $locale = I18Nv2::setLocale('en_US');
3 $thsep = I18Nv2::getInfo('thousands_separator');
4 $point = I18Nv2::getInfo('decimal_point');
?>
specific part of locale information
Returns mixed locale specific information or array all available locale specific information if called without parameter.
This function should be called statically.
See also I18Nv2::setLocale(), PHPs localeconv().