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>.
--
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php