Collator::getErrorMessage
collator_get_error_message
(PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
Collator::getErrorMessage -- collator_get_error_message — Karşılaştırıcının son hata iletisini döndürür
Açıklama
Nesne yönelimli kullanım
string
Collator::getErrorMessage
( void
)
Yordamsal kullanım
Son hatanın iletisini döndürür.
Dönen Değerler
Son karşılaştırma işlevi çağrısında oluşan hatanın açıklaması.
Örnekler
Örnek 1 - collator_get_error_message() örneği
<?php
$coll = collator_create( 'lt' );
if( collator_compare( $coll, 'y', 'k' ) === false ) {
echo collator_get_error_message( $coll );
}
?>
There are no user contributed notes for this page.
