在线文档教程
PHP
Internationalization

Transliterator::getErrorCode

Transliterator::getErrorCode

transliterator_get_error_code

(PHP >= 5.4.0, PECL intl >= 2.0.0)

Transliterator::getErrorCode -- transliterator_get_error_code — Get last error code

Description

Object oriented style

public int Transliterator::getErrorCode ( void )

Procedural style

int transliterator_get_error_code ( void )

Gets the last error code for this transliterator.

Warning

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

Parameters

This function has no parameters.

Return Values

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

See Also

  • Transliterator::getErrorMessage() - Get last error message

  • Transliterator::listIDs() - Get transliterator IDs

← Transliterator::createInverse

Transliterator::getErrorMessage →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/transliterator.geterrorcode.php