CakeFest 2024: The Official CakePHP Conference

intl_get_error_message

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

intl_get_error_message直近のエラーの説明を取得する

説明

intl_get_error_message(): string

直近の国際化関数のコールによるエラーメッセージを取得します。

パラメータ

この関数にはパラメータはありません。

戻り値

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

例1 intl_get_error_message() の例

<?php
if( Collator::getAvailableLocales() === false ) {
show_error( intl_get_error_message() );
}
?>

参考

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top