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    

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:
Solve the problem : 17 + 49 = ?

 [2009-01-07 10:41 UTC] hm2k (James Wade)
Description: ------------ Test script: --------------- <?php $domain=''; echo "<pre>"; getmxrr($domain,$mxhosts,$mxweight); print_r($mxhosts); print_r($mxweight); ?> Expected result: ---------------- Array ( [0] => [1] => ) Array ( [0] => 5 [1] => 15 ) Actual result: -------------- Call to undefined function getmxrr()


 [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: 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 by the end of next Sunday (CET). If this was a problem with the 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