Php/docs/messageformatter.geterrorcode

提供:Dev Guides
< Php
2020年12月14日 (月) 11:34時点におけるNotes (トーク | 投稿記録)による版 (autoload)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
移動先:案内検索

MessageFormatter::getErrorCode

msgfmt_get_error_code

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

MessageFormatter::getErrorCode -- msgfmt_get_error_code直近の操作のエラーコードを取得する


説明

オブジェクト指向型

public MessageFormatter::getErrorCode ( ) : int

手続き型

msgfmt_get_error_code ( MessageFormatter $fmt ) : int

直近の操作のエラーコードを取得します。


パラメータ

fmt
メッセージのフォーマッタ。


参考