PHP: yp_err_string - Manual

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

search for in the

yp_errno yp_cat

Last updated: Sat, 27 Jan 2007

view this page in

# yp_err_string

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

yp_err_string -- Returns the error string associated with the given error code

## Description

string yp_err_string ( int errorcode )

yp_err_string() returns the error message associated with the given error code. Useful to indicate what exactly went wrong.

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

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

See also yp_errno().

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

Last updated: Sat, 27 Jan 2007
show source | credits | stats | sitemap | contact | advertising | mirror sites
Copyright © 2001-2007 The PHP Group
All rights reserved.
This mirror generously provided by: Yahoo! Inc.
Last updated: Sat Mar 10 10:36:09 2007 PST