Query: collator_get_error_message
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
COLLATOR_GET_ERROR_MESSAGE(3) 1 COLLATOR_GET_ERROR_MESSAGE(3) Collator::getErrorMessage - Get text for collator's last error code Object oriented styleSYNOPSISpublic string Collator::getErrorMessage (void )DESCRIPTIONProcedural style string collator_get_error_message (Collator $coll) Retrieves the message for the last error.PARAMETERSo $coll -Collator object.RETURN VALUESDescription of an error occurred in the last Collator API function call.EXAMPLESExample #1 collator_get_error_message(3) example <?php $coll = collator_create( 'lt' ); if( collator_compare( $coll, 'y', 'k' ) === false ) { echo collator_get_error_message( $coll ); } ?>SEE ALSOcollator_get_error_code(3). PHP Documentation Group COLLATOR_GET_ERROR_MESSAGE(3)