Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.6.0a3

Request #15531 getmxrr() support for windows
Submitted: 2009-01-07 10:41 UTC
From: hm2k Assigned: hm2k
Status: Closed Package: PHP_Compat (version 1.6.0a2)
PHP Version: 5.2.3 OS: WindowsXP
Roadmaps: 1.6.0a3    
Subscription  


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 37 - 24 = ?

 
 [2009-01-07 10:41 UTC] hm2k (James Wade)
Description: ------------ http://www.hm2k.com/posts/php-getmxrr-support-for-windows Test script: --------------- <?php $domain='php.net'; echo "<pre>"; getmxrr($domain,$mxhosts,$mxweight); print_r($mxhosts); print_r($mxweight); ?> Expected result: ---------------- Array ( [0] => osu1.php.net [1] => smtp.osuosl.org ) Array ( [0] => 5 [1] => 15 ) Actual result: -------------- Call to undefined function getmxrr()

Comments

 [2009-01-20 13:36 UTC] hm2k (James Wade)
I'm currently also looking into supporting checkdnsrr() and dns_get_record() using similar concepts. However, due to their complex nature I will open separate trackers to handle inclusion.
 [2009-05-01 21:57 UTC] hm2k (James Wade)
A unit test is found here: http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/network/getmxrr.phpt?revision=1.3&view=co However, the part about windows should be removed.
 [2009-05-07 03:01 UTC] arpad (Arpad Ray)
-Assigned To: +Assigned To: hm2k
Looks ok to me, along with the usual unit test & PEAR CS proviso.
 [2010-08-01 19:43 UTC] hm2k (James Wade)
-Status: Assigned +Status: Closed
This bug has been fixed in SVN. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better. At revision: 301760