Bug #72683 [Opn->Csd]: getmxxr broken
| From: | ab@php.net | Date: | Wed, 27 Jul 2016 18:50:38 +0000 |
| Subject: | Bug #72683 [Opn->Csd]: getmxxr broken | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-202647@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=72683&edit=1
ID: 72683
Updated by: ab@php.net
Reported by: deivid dot garcia dot garcia at gmail dot com
Summary: getmxxr broken
-Status: Open
+Status: Closed
Type: Bug
Package: Mail related
Operating System: Windows 10.1
PHP Version: 7.0.9
Block user comment: N
Private report: N
New Comment:
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src.git;a=commit;h=c52322707e4224a5b3c16d53e9b59512d3a188e9
Log: Fixed bug #72683 getmxrr broken
Previous Comments:
------------------------------------------------------------------------
[2016-07-26 22:49:30] deivid dot garcia dot garcia at gmail dot com
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[]
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=72683&edit=1