PHP » GoLang |
login |
register |
about
|
GoLang MessageFormatter::getErrorCode
request it (359)
GoLang replacement for PHP's MessageFormatter::getErrorCode
[edit | history]
PHP MessageFormatter::getErrorCodePHP original manual for MessageFormatter::getErrorCode [ show | php.net ]MessageFormatter::getErrorCodemsgfmt_get_error_code(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) MessageFormatter::getErrorCode -- msgfmt_get_error_code — Get the error code from last operation DescriptionObject oriented style
public
int
MessageFormatter::getErrorCode
( void
)
Procedural style Get the error code from last operation. Parameters
Return ValuesThe error code, one of UErrorCode values. Initial value is U_ZERO_ERROR. ExamplesExample #1 msgfmt_get_error_code() example
<?php Example #2 OO example
<?php The above example will output: ERROR: msgfmt_format: not enough parameters: U_ILLEGAL_ARGUMENT_ERROR (1) See Also
|
more
Recently updated
more
Most requested
more
Last requests
|