PHP - Manual: MessageFormatter::getErrorCode
2024-12-22
(PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL intl >= 1.0.0)
MessageFormatter::getErrorCode -- msgfmt_get_error_code — Get the error code from last operation
面向对象风格
过程化风格
Get the error code from last operation.
formatter
The message formatter
The error code, one of UErrorCode values. Initial value is U_ZERO_ERROR.
官方地址:https://www.php.net/manual/en/messageformatter.geterrorcode.php