downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

Collator::getLocale> <Collator::getErrorCode
[edit] Last updated: Fri, 17 May 2013

view this page in

Collator::getErrorMessage

collator_get_error_message

(PHP 5 >= 5.3.0, PECL intl >= 1.0.0)

Collator::getErrorMessage -- collator_get_error_messagecollator の直近のエラーコードのテキストを取得する

説明

オブジェクト指向型

string Collator::getErrorMessage ( void )

手続き型

string collator_get_error_message ( Collator $coll )

直近のエラーのメッセージを取得します。

パラメータ

coll

Collator オブジェクト。

返り値

直近の Collator API 関数コールで発生したエラーの説明を返します。

例1 collator_get_error_message() の例

<?php
$coll 
collator_create'lt' );
if( 
collator_compare$coll'y''k' ) === false ) {
    echo 
collator_get_error_message$coll );
}
?>

参考



add a note add a note User Contributed Notes Collator::getErrorMessage - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | sitemap | contact | advertising | mirror sites