Intl
class Intl
Gives access to internationalization data.
Constants
Methods
static bool
isExtensionLoaded()
Returns whether the intl extension is installed.
static CurrencyBundleInterface
getCurrencyBundle()
Returns the bundle containing currency information.
static LanguageBundleInterface
getLanguageBundle()
Returns the bundle containing language information.
static LocaleBundleInterface
getLocaleBundle()
Returns the bundle containing locale information.
static RegionBundleInterface
getRegionBundle()
Returns the bundle containing region information.
static string|null
getIcuVersion()
Returns the version of the installed ICU library.
static string
getIcuDataVersion()
Returns the version of the installed ICU data.
static string
getIcuStubVersion()
Returns the ICU version that the stub classes mimic.
static string
getDataDirectory()
Returns the absolute path to the data directory.
Details
static CurrencyBundleInterface
getCurrencyBundle()
Returns the bundle containing currency information.
static LanguageBundleInterface
getLanguageBundle()
Returns the bundle containing language information.