didou Wed Jun 25 07:27:04 2003 EDT
Modified files:
/phpdoc/en/reference/nis/functions yp-err-string.xml
Log:
closing 2432
Index: phpdoc/en/reference/nis/functions/yp-err-string.xml
diff -u phpdoc/en/reference/nis/functions/yp-err-string.xml:1.2
phpdoc/en/reference/nis/functions/yp-err-string.xml:1.3
--- phpdoc/en/reference/nis/functions/yp-err-string.xml:1.2 Wed Apr 17 02:42:12
2002
+++ phpdoc/en/reference/nis/functions/yp-err-string.xml Wed Jun 25 07:27:03 2003
@@ -1,22 +1,22 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<!-- splitted from ./en/functions/nis.xml, last change in rev 1.2 -->
<refentry id="function.yp-err-string">
<refnamediv>
<refname>yp_err_string</refname>
<refpurpose>
- Returns the error string associated with the previous operation
+ Returns the error string associated with the given error code
</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<methodsynopsis>
<type>string</type><methodname>yp_err_string</methodname>
- <void/>
+ <methodparam><type>int</type><parameter>errorcode</parameter></methodparam>
</methodsynopsis>
<para>
<function>yp_err_string</function> returns the error message
- associated with the previous operation. Useful to indicate what
+ associated with the given error code. Useful to indicate what
exactly went wrong.
</para>
<para>
@@ -25,7 +25,7 @@
<programlisting role="php">
<![CDATA[
<?php
- echo "Error: " . yp_err_string();
+ echo "Error: " . yp_err_string(yp_errno());
?>
]]>
</programlisting>
--
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php