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 failureSYNOPSISbool intl_is_failure (int $error_code)DESCRIPTIONPARAMETERSo $error_code - is a value that returned by functions: intl_get_error_code(3), collator_get_error_code(3) .RETURN VALUESTRUE if it the code indicates some failure, and FALSE in case of success or a warning.EXAMPLESExample #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 trueSEE ALSOintl_get_error_code(3), collator_get_error_code(3), Collator-getErrorCode(3). PHP Documentation Group INTL_IS_FAILURE(3)
Related Man Pages |
---|
datefmt_get_error_code(3) - php |
intl_is_failure(3) - php |
intlcal_get_error_code(3) - php |
msgfmt_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 |