collator_get_error_code(3) php man page | unix.com

Man Page: collator_get_error_code

Operating Environment: php

Section: 3

COLLATOR_GET_ERROR_CODE(3)						 1						COLLATOR_GET_ERROR_CODE(3)

Collator::getErrorCode - Get collator's last error code

	Object oriented style

SYNOPSIS
public int Collator::getErrorCode (void )
DESCRIPTION
Procedural style int collator_get_error_code (Collator $coll)
PARAMETERS
o $coll -Collator object.
RETURN VALUES
Error code returned by the last Collator API function call.
EXAMPLES
Example #1 collator_get_error_code(3) example <?php $coll = collator_create( 'en_US' ); if( collator_get_attribute( $coll, Collator::FRENCH_COLLATION ) === false ) handle_error( collator_get_error_code() ); ?>
SEE ALSO
collator_get_error_message(3). PHP Documentation Group COLLATOR_GET_ERROR_CODE(3)
Related Man Pages
collator(3) - php
collator_compare(3) - php
collator_get_locale(3) - php
datefmt_get_error_code(3) - php
collator.__construct(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
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Don Cragun