php / 8.1.5 / transliterator.geterrorcode.html /

Transliterator::getErrorCode

transliterator_get_error_code

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

Transliterator::getErrorCode -- transliterator_get_error_codeGet last error code

Description

Object-oriented style

public Transliterator::getErrorCode(): int|false

Procedural style

transliterator_get_error_code(Transliterator $transliterator): int|false

Gets the last error code for this transliterator.

Warning

This function is currently not documented; only its argument list is available.

Parameters

transliterator

Return Values

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

See Also

© 1997–2021 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/transliterator.geterrorcode.php