php man page for intl_is_failure

Query: intl_is_failure

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

INTL_IS_FAILURE(3)							 1							INTL_IS_FAILURE(3)

intl_is_failure - Check whether the given error code indicates failure

SYNOPSIS
bool intl_is_failure (int $error_code)
DESCRIPTION
PARAMETERS
o $error_code - is a value that returned by functions: intl_get_error_code(3), collator_get_error_code(3) .
RETURN VALUES
TRUE if it the code indicates some failure, and FALSE in case of success or a warning.
EXAMPLES
Example #1 intl_is_failure(3) example <?php function check( $err_code ) { var_export( intl_is_failure( $err_code ) ); echo " "; } check( U_ZERO_ERROR ); check( U_USING_FALLBACK_WARNING ); check( U_ILLEGAL_ARGUMENT_ERROR ); ?> The above example will output something similar to: false false true
SEE ALSO
intl_get_error_code(3), collator_get_error_code(3), Collator-getErrorCode(3). PHP Documentation Group INTL_IS_FAILURE(3)
Related Man Pages
msgfmt_get_error_message(3) - php
datefmt_is_lenient(3) - php
is_string(3) - php
numfmt_get_error_code(3) - php
resourcebundle_get_error_code(3) - php
Similar Topics in the Unix Linux Community
HP-UX Health Check
need help with a check
How to check if a number exists?
Check PSU Status
Output checker setting variable to TRUE or FALSE