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_get_sort_key(3) - php
msgfmt_get_error_code(3) - php
numfmt_get_error_code(3) - php
collator.__construct(3) - php
Similar Topics in the Unix Linux Community
UNIX.COM 2017 Year End Summary
New Code Tags (Syntax Highlighting)
Status of UNIX.COM Forum Transformation
Please Welcome Ravinder Singh to the Moderation Team