php8.5
Home/ Manual/ intl / transliterator/ Transliterator::getErrorCode

Transliterator::getErrorCode

PHP function Edit on GitHub ✎

(PHP 5 >= 5.4.0, PHP 7, PHP 8, PECL intl >= 2.0.0)

Get last error code

Description

Oop

Transliterator::getErrorCode(): int

Procedural

transliterator_get_error_code(Transliterator $transliterator): int

Gets the last error code for this transliterator.

Func

Parameters

transliterator

Return Values

The error code on success, or false if none exists, or on failure.

See Also

  • Transliterator::getErrorMessage
  • Transliterator::listIDs

Source: reference/intl/transliterator/geterrorcode.xml · from the official PHP manual (php/doc-en)