require_once 'I18Nv2.php';
mixed I18Nv2::getInfo ([string $part = NULL])
mixed I18Nv2::getInfo
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.
Example 44-1. Retrieving specific locale information:
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().