#29743 [Opn->Csd]: getmxrr() doc has return type mismatch
| From: | philip@php.net | Date: | Wed, 18 Aug 2004 19:35:10 +0000 |
| Subject: | #29743 [Opn->Csd]: getmxrr() doc has return type mismatch | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969363299@lists.php.net to get a copy of this message | ||
ID: 29743
Updated by: philip@php.net
Reported By: scott at slerman dot net
-Status: Open
+Status: Closed
Bug Type: Documentation problem
PHP Version: Irrelevant
New Comment:
Thank you for the report. This bug is now fixed in CVS and will show
up when the manual is next built. Here's the diff:
http://cvs.php.net/diff.php/phpdoc/en/reference/network/functions/getmxrr.xml?r1=1.9&r2=1.10
Previous Comments:
------------------------------------------------------------------------
[2004-08-18 20:20:45] scott at slerman dot net
Description:
------------
int getmxrr ( string hostname, array &mxhosts [, array &weight])
Searches DNS for MX records corresponding to hostname. Returns TRUE if
any records are found; returns FALSE if no records were found or if an
error occurred.
The header says the function returns an int, but the description (and
my test on 5.0.1/Linux) says that the function always returns a
boolean.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=29743&edit=1