intl_get_error_code(3) php man page | unix.com

Man Page: intl_get_error_code

Operating Environment: php

Section: 3

INTL_GET_ERROR_CODE(3)							 1						    INTL_GET_ERROR_CODE(3)

intl_get_error_code - Get the last error code

SYNOPSIS
int intl_get_error_code (void )
DESCRIPTION
Useful to handle errors occurred in static methods when there's no object to get error code from.
RETURN VALUES
Error code returned by the last API function call.
EXAMPLES
Example #1 intl_get_error_code(3) example <?php $coll = collator_create( '<bad_param>' ); if( !$coll ) { handle_error( intl_get_error_code() ); } ?>
SEE ALSO
intl_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
msgfmt_get_error_message(3) - php
datefmt_is_lenient(3) - php
datefmt_get_error_message(3) - php
msgfmt_get_error_code(3) - php
numfmt_get_error_code(3) - php
Similar Topics in the Unix Linux Community
Coming Soon: Upgrade Forum Software (Dec 31 - Jan 1)
New Code Tags (Syntax Highlighting)
Please Welcome Ravinder Singh to the Moderation Team
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Wolf Machowitsch
Denial Of Service Attack Update