intl Fonctions
PHP Manual

intl_error_name

(No version information available, might be only in CVS)

intl_error_nameGet symbolic name for a given error code

Description

string intl_error_name ( integer $error_code )

Return ICU error code name.

Liste de paramètres

error_code

ICU error code.

Valeurs de retour

The returned string will be the same as the name of the error code constant.

Exemples

Exemple #1 intl_error_name() example

<?php
$coll     
collator_create'en_RU' );
$err_code collator_get_error_code$coll );

printf"Symbolic name for %d is %s\n."$err_codeintl_error_name$err_code ) );
?>

L'exemple ci-dessus va afficher quelque chose de similaire à :

Symbolic name for -128 is U_USING_FALLBACK_WARNING.

Voir aussi


intl Fonctions
PHP Manual