PHP  
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
search for in the  
<yp_catyp_errno>
Last updated: Mon, 16 Jul 2012

yp_err_string

(PHP 4 >= 4.0.6, PECL)

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().




<yp_catyp_errno>
 Last updated: Mon, 16 Jul 2012
 
Copyright © 2001-2005 The PHP Group
All rights reserved.
This unofficial mirror is operated at: http://manual.phpv.net/
Last updated: Thu Jul 7 19:13:47 2005 CST