downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

intl_get_error_code> <intl 함수 목록
[edit] Last updated: Sat, 07 Jan 2012

view this page in

intl_error_name

(PHP 5 >= 5.3.0, PECL intl >= 1.0.0)

intl_error_nameGet 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.

예제

Example #1 intl_error_name() example

<?php
$coll     
collator_create'en_RU' );
$err_code collator_get_error_code$coll );

printf"Symbolic name for %d is %s\n."$err_codeintl_error_name$err_code ) );
?>

위 예제의 출력 예시:

Symbolic name for -128 is U_USING_FALLBACK_WARNING.

참고



add a note add a note User Contributed Notes intl_error_name
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites