#29743 [NEW]: getmxrr() doc has return type mismatch
| From: | scott at slerman dot net | Date: | Wed, 18 Aug 2004 18:20:46 +0000 |
| Subject: | #29743 [NEW]: getmxrr() doc has return type mismatch | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969363295@lists.php.net to get a copy of this message | ||
From: scott at slerman dot net
Operating system:
PHP version: Irrelevant
PHP Bug Type: Documentation problem
Bug description: getmxrr() doc has return type mismatch
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 bug report at http://bugs.php.net/?id=29743&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=29743&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=29743&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=29743&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=29743&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=29743&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=29743&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=29743&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=29743&r=support
Expected behavior: http://bugs.php.net/fix.php?id=29743&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=29743&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=29743&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=29743&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29743&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=29743&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=29743&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=29743&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=29743&r=float