array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'it', ), 'this' => array ( 0 => 'messageformatter.geterrorcode.php', 1 => 'MessageFormatter::getErrorCode', 2 => 'Get the error code from last operation', ), 'up' => array ( 0 => 'class.messageformatter.php', 1 => 'MessageFormatter', ), 'prev' => array ( 0 => 'messageformatter.formatmessage.php', 1 => 'MessageFormatter::formatMessage', ), 'next' => array ( 0 => 'messageformatter.geterrormessage.php', 1 => 'MessageFormatter::getErrorMessage', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/intl/messageformatter/get-error-code.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

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_codeGet the error code from last operation

Descrizione

Stile orientato agli oggetti

public MessageFormatter::getErrorCode(): int

Stile procedurale

msgfmt_get_error_code(MessageFormatter $formatter): int

Get the error code from last operation.

Elenco dei parametri

formatter

The message formatter

Valori restituiti

The error code, one of UErrorCode values. Initial value is U_ZERO_ERROR.

Vedere anche: