PHP Conference Japan 2024

MessageFormatter::getErrorCode

msgfmt_get_error_code

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

MessageFormatter::getErrorCode -- msgfmt_get_error_code取得上次操作的錯誤碼

說明

物件導向風格

public MessageFormatter::getErrorCode(): int

程序式風格

msgfmt_get_error_code(MessageFormatter $formatter): int

取得上次操作的錯誤碼。

參數

formatter

訊息格式器

回傳值

錯誤碼,UErrorCode 值之一。初始值為 U_ZERO_ERROR。

參見

新增註記

使用者貢獻的註記

此頁面沒有使用者貢獻的註記。
To Top