<?php
$coll = collator_create( 'en_RU' );
$err_code = collator_get_error_code( $coll );
printf( "Symbolic name for %d is %s\n.", $err_code, intl_error_name( $err_code ) );
?>
The above example will output
something similar to:
Symbolic name for -128 is U_USING_FALLBACK_WARNING.