7.113 NIS
7 Index des fonctions
Manuel PHP
. Introduction . Pré-requis . Installation . Configuration à l'exécution . Constantes prédefinies . yp_all . yp_cat ->yp_err_string . yp_errno . yp_first . yp_get_default_domain . yp_master . yp_match . yp_next . yp_order
|
7.113.8 yp_err_string()
Retourne la chaîne correspondante à l'erreur donnée
[ Exemples avec yp_err_string ] PHP 4 >= 4.0.6
string
yp_err_string (
int
errorcode
)
yp_err_string
retourne la chaîne d'erreur
associée au code erreur
errorcode
. Très
pratique pour savoir exactement ce qui n'a pas fonctionné.
Exemple |
<?php echo "Erreur : " . yp_err_string(yp_errno()); ?>
|
Voir aussi
yp_errno
.
|