intl_is_failure

PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL intl >= 1.0.0
intl_is_failure - Check whether the given error code indicates failure
Manual
Code Examples

intl_is_failure( int$errorCode ): bool

Parameters

errorCode

is a value that returned by functions: intl_get_error_code, collator_get_error_code .

Return Values

true if it the code indicates some failure, and false in case of success or a warning.

Related Functions

Example of intl_is_failure

Show all examples for intl_is_failure

PHP Version:


Function intl_is_failure:

Internationalization Functions Functions

Most used PHP functions