cvs: phpdoc /en/reference/network/functions gethostbyname.xml
| From: | CHAILLAN Nicolas | Date: | Tue, 07 Jan 2003 12:46:28 +0000 |
| Subject: | cvs: phpdoc /en/reference/network/functions gethostbyname.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969350737@lists.php.net to get a copy of this message | ||
nicos Tue Jan 7 07:46:28 2003 EDT
Modified files:
/phpdoc/en/reference/network/functions gethostbyname.xml
Log:
gethostbyname returns the hostname if it fails
Index: phpdoc/en/reference/network/functions/gethostbyname.xml
diff -u phpdoc/en/reference/network/functions/gethostbyname.xml:1.2
phpdoc/en/reference/network/functions/gethostbyname.xml:1.3
--- phpdoc/en/reference/network/functions/gethostbyname.xml:1.2 Wed Apr 17 02:42:03 2002
+++ phpdoc/en/reference/network/functions/gethostbyname.xml Tue Jan 7 07:46:28 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<!-- splitted from ./en/functions/network.xml, last change in rev 1.2 -->
<refentry id="function.gethostbyname">
<refnamediv>
@@ -16,7 +16,8 @@
</methodsynopsis>
<para>
Returns the IP address of the Internet host specified by
- <parameter>hostname</parameter>.
+ <parameter>hostname</parameter> or <parameter>hostname</parameter>
+ on failure.
</para>
<para>
See also <function>gethostbyaddr</function>.