ResourceBundle::getLocales

(PHP >= 5.3.2, PECL intl >= 2.0.0) Get supported locales public array ResourceBundle::getLocales ( string $bundlename ) Object oriented style Procedural style array resourcebundle_locales ( string $bundlename ) Get available locales from ResourceBundle name. Parameters: bundlename Path of ResourceBundle for which to get available locales, or empty string for de

Spoofchecker::areConfusable

(PHP >= 5.4.0, PECL intl >= 2.0.0) Checks if a given text contains any confusable characters public bool Spoofchecker::areConfusable ( string $s1, string $s2 [, string &$error ] ) Parameters: s1 s2 error Returns: This function is currently

ResourceBundle::getErrorMessage

(PHP >= 5.3.2, PECL intl >= 2.0.0) Get bundle's last error message. public string ResourceBundle::getErrorMessage ( void ) Object oriented style Procedural style string resourcebundle_get_error_message ( ResourceBundle $r ) Get error message from the last function performed by the bundle object. Parameters: r ResourceBundle object. Returns:

ResourceBundle::count

(PHP >= 5.3.2, PECL intl >= 2.0.0) Get number of elements in the bundle public int ResourceBundle::count ( void ) Object oriented style Procedural style int resourcebundle_count ( ResourceBundle $r ) Get the number of elements in the bundle. Parameters: r ResourceBundle object. Returns: Returns number of elements in the bundle.

ResourceBundle::create

(PHP >= 5.3.2, PECL intl >= 2.0.0) Create a resource bundle public static ResourceBundle ResourceBundle::create ( string $locale, string $bundlename [, bool $fallback ] ) Object oriented style (method) Procedural style ResourceBundle resourcebundle_create ( string $locale , string $bundlename [, bool $fallback ] ) Object oriented style (constructor): public ResourceBundle::__construct ( string $locale , string $

ResourceBundle::getErrorCode

(PHP >= 5.3.2, PECL intl >= 2.0.0) Get bundle's last error code. public int ResourceBundle::getErrorCode ( void ) Object oriented style Procedural style int resourcebundle_get_error_code ( ResourceBundle $r ) Get error code from the last function performed by the bundle object. Parameters: r ResourceBundle object. Returns: Returns erro

IntlDateFormatter::setCalendar

(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) Sets the calendar type used by the formatter bool IntlDateFormatter::setCalendar ( mixed $which ) Object oriented style Procedural style bool datefmt_set_calendar ( IntlDateFormatter $fmt , mixed $which ) Sets the calendar or calendar type used by the formatter. Parameters: fmt The formatter resource.

IntlDateFormatter::setLenient

(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) Set the leniency of the parser public bool IntlDateFormatter::setLenient ( bool $lenient ) Object oriented style Procedural style bool datefmt_set_lenient ( IntlDateFormatter $fmt , bool $lenient ) Define if the parser is strict or lenient in interpreting inputs that do not match the pattern exactly. Enabling lenient parsing allows the parser to accept otherwise flawed d

IntlDateFormatter::setPattern

(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) Set the pattern used for the IntlDateFormatter public bool IntlDateFormatter::setPattern ( string $pattern ) Object oriented style Procedural style bool datefmt_set_pattern ( IntlDateFormatter $fmt , string $pattern ) Set the pattern used for the IntlDateFormatter. Parameters: fmt The formatter resource.

IntlDateFormatter::setTimeZoneId

(PHP 5 >= 5.3.0, PECL intl >= 1.0.0) Sets the time zone to use public bool IntlDateFormatter::setTimeZoneId ( string $zone ) Object oriented style Procedural style bool datefmt_set_timezone_id ( IntlDateFormatter $fmt , string $zone ) Sets the time zone to use. Parameters: fmt The formatter resource. zone The time zone ID str