|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2016-07-27 18:50 UTC] ab@php.net
[2016-07-27 18:50 UTC] ab@php.net
-Status: Open
+Status: Closed
[2016-10-17 10:10 UTC] bwoebi@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 20:00:01 2025 UTC |
Description: ------------ getmxxr() function on PHP7 and Windows broke. getmmxxr() returns TRUE on both cases, but on PHP the mxhosts array is EMPTY. Test script: --------------- $mxhosts = []; echo getmxrr('gmail.com', $mxhosts) ? 'FOUND' : 'NOT FOUND'; echo json_encode($mxhosts); exit(); Expected result: ---------------- FOUND["alt2.gmail-smtp-in.l.google.com","alt4.gmail-smtp-in.l.google.com","gmail-smtp-in.l.google.com","alt1.gmail-smtp-in.l.google.com","alt3.gmail-smtp-in.l.google.com"] Actual result: -------------- FOUND[]