IntlGlobals

IntlGlobals

class IntlGlobals

Provides fake static versions of the global functions in the intl extension.

Constants

U_ZERO_ERROR

Indicates that no error occurred.

U_ILLEGAL_ARGUMENT_ERROR

Indicates that an invalid argument was passed.

U_PARSE_ERROR

Indicates that the parse() operation failed.

Methods

static bool isFailure(int $errorCode)

Returns whether the error code indicates a failure.

static int getErrorCode()

Returns the error code of the last operation.

static s