Query: intl_get_error_code
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
INTL_GET_ERROR_CODE(3) 1 INTL_GET_ERROR_CODE(3) intl_get_error_code - Get the last error codeSYNOPSISint intl_get_error_code (void )DESCRIPTIONUseful to handle errors occurred in static methods when there's no object to get error code from.RETURN VALUESError code returned by the last API function call.EXAMPLESExample #1 intl_get_error_code(3) example <?php $coll = collator_create( '<bad_param>' ); if( !$coll ) { handle_error( intl_get_error_code() ); } ?>SEE ALSOintl_is_failure(3), intl_error_name(3), intl_get_error_message(3), collator_get_error_code(3), numfmt_get_error_code(3). PHP Documentation Group INTL_GET_ERROR_CODE(3)
Related Man Pages |
---|
datefmt_set_lenient(3) - php |
intl_is_failure(3) - php |
numfmt_get_error_code(3) - php |
resourcebundle_get_error_message(3) - php |
collator.__construct(3) - php |