|
IntlDateFormatter::getErrorCodedatefmt_get_error_codeGet the error code from last operation DescriptionObject oriented style
public int IntlDateFormatter::getErrorCode
( void
)
Procedural style
int datefmt_get_error_code
( IntlDateFormatter
$fmt
)Get the error code from last operation. Returns error code from the last number formatting operation. Parameters
Return ValuesThe error code, one of UErrorCode values. Initial value is U_ZERO_ERROR. ExamplesExample #1 datefmt_get_error_code example
<?php Example #2 OO example
<?php The above example will output: ERROR: U_ZERO_ERROR (0) See Also
|