Документация PHP
| Документация DHTML | Документация Smarty | SVG/VML Графика и JavaScript
| Документация bash |
Collator::getErrorMessage
collator_get_error_message
(No version information available, might be only in CVS)
collator_get_error_message — Get text for collator's last error code
Описание
Object oriented style
string Collator::getErrorMessage ( void )
Procedural style
string collator_get_error_message ( Collator $coll )
Retrieves the message for the last error.
Список параметров
- coll
-
Collator object.
Возвращаемые значения
Description of an error occurred in the last Collator API function call.
Примеры
Пример #1 collator_get_error_message() example
<?php
$coll = collator_create( 'lt' );
if( collator_compare( $coll, 'y', 'k' ) === false ) {
echo collator_get_error_message( $coll );
}
?>
Смотрите также