Re: cvs: phpdoc /en/reference/network/functions gethostbyname.xml
| From: | Sander Roobol | Date: | Tue, 07 Jan 2003 17:59:37 +0000 |
| Subject: | Re: cvs: phpdoc /en/reference/network/functions gethostbyname.xml | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969350741@lists.php.net to get a copy of this message | ||
On Tue, Jan 07, 2003 at 03:21:29PM -0000, CHAILLAN Nicolas wrote:
> Returns the IP address of the Internet host specified by
> - <parameter>hostname</parameter> or
> <parameter>hostname</parameter>
> - on failure.
> + <parameter>hostname</parameter>. If an error occurs,
> + <function>gethostbyname</function> returns
> <parameter>hostname</parameter>.
Derick is right. Please let people who have better English skills fix
these sort of things.
I think something like this would be better:
Returns the IP address of the Internet host specified by
<parameter>hostname</parameter> or a string containing the
unmodified <parameter>hostname</parameter> on failure.
Sander