Регистрация Войти
Войти через VK Войти через FB Войти через Google Войти через Яндекс
Войти через VK Войти через FB Войти через Google Войти через Яндекс
Поиск по сайту
intl_error_name
(PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
intl_error_name — Get symbolic name for a given error code
Описание
string intl_error_name ( int $error_code )Return ICU error code name.
Список параметров
error_code -
ICU error code.
Возвращаемые значения
The returned string will be the same as the name of the error code constant.
Примеры
Пример #1 intl_error_name() example
$coll = collator_create( 'en_RU' );
$err_code = collator_get_error_code( $coll );
printf( "Symbolic name for %d is %s\n.", $err_code, intl_error_name( $err_code ) );
Результатом выполнения данного примера будет что-то подобное:
Symbolic name for -128 is U_USING_FALLBACK_WARNING.
Смотрите также
- intl_is_failure() - Check whether the given error code indicates failure
- intl_get_error_code() - Get the last error code
- intl_get_error_message() - Get description of the last error
Описание на ru2.php.net
Описание на php.ru