phpday 2027 - Call for Papers

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_code — Get last error code

Description

Object-oriented style

public function Transliterator::getErrorCode(): int

Procedural style

function transliterator_get_error_code(Transliterator $transliterator): int

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 of the last operation, 0 if no error occurred.

Changelog

Version Description
8.5.0 The return type is now int instead of int|false. false was never returned.

See Also

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top