# 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

### 说明

面向对象风格

public Transliterator::getErrorCode(): int|false

过程化风格

transliterator_get_error_code(Transliterator `$transliterator`): int|false

Gets the last error code for this transliterator.

警告

本函数还未编写文档，仅有参数列表。

### 参数

`transliterator`

### 返回值

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

### 参见

- Transliterator::getErrorMessage() - Get last error message
- Transliterator::listIDs() - Get transliterator IDs

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open