|
MessageFormatter::getErrorMessagemsgfmt_get_error_messageGet the error text from the last operation DescriptionObject oriented style
public
string
MessageFormatter::getErrorMessage
( void
)
Procedural style
string
msgfmt_get_error_message
( MessageFormatter
$fmt
)Get the error text from the last operation. Parameters
Return ValuesDescription of the last error. ExamplesExample #1 msgfmt_get_error_message 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
|