intl_error_name(3) php man page | unix.com

Man Page: intl_error_name

Operating Environment: php

Section: 3

INTL_ERROR_NAME(3)							 1							INTL_ERROR_NAME(3)

intl_error_name - Get symbolic name for a given error code

SYNOPSIS
string intl_error_name (int $error_code)
DESCRIPTION
Return ICU error code name.
PARAMETERS
o $error_code - ICU error code.
RETURN VALUES
The returned string will be the same as the name of the error code constant.
EXAMPLES
Example #1 intl_error_name(3) example <?php $coll = collator_create( 'en_RU' ); $err_code = collator_get_error_code( $coll ); printf( "Symbolic name for %d is %s .", $err_code, intl_error_name( $err_code ) ); ?> The above example will output something similar to: Symbolic name for -128 is U_USING_FALLBACK_WARNING.
SEE ALSO
intl_is_failure(3), intl_get_error_code(3), intl_get_error_message(3). PHP Documentation Group INTL_ERROR_NAME(3)
Related Man Pages
intlcalendar.geterrorcode(3) - php
collator_get_locale(3) - php
collator_get_sort_key(3) - php
numfmt_get_error_code(3) - php
resourcebundle_get_error_code(3) - php
Similar Topics in the Unix Linux Community
UNIX.COM 2017 Year End Summary
Please Welcome Don Cragun as Lead Moderator
Status of UNIX.COM Forum Transformation
Please Welcome Ravinder Singh to the Moderation Team
Denial Of Service Attack Update