PHP
downloads | documentation | faq | getting help | mailing lists | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

yp_errno> <yp_cat
Last updated: Fri, 28 Nov 2008

view this page in

yp_err_string

(PHP 4 >= 4.0.6, PHP 5 <= 5.0.5)

yp_err_stringReturns the error string associated with the given error code

Описание

string yp_err_string ( int $errorcode )

Returns the error message associated with the given error code. Useful to indicate what exactly went wrong.

Список параметров

errorcode

The error code.

Возвращаемые значения

Returns the error message, as a string.

Примеры

Пример #1 Example for NIS errors

<?php
echo "Error: " yp_err_string(yp_errno());
?>

Смотрите также



add a note add a note User Contributed Notes
yp_err_string
There are no user contributed notes for this page.

yp_errno> <yp_cat
Last updated: Fri, 28 Nov 2008
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites