Bug #79944 [PATCH]: getmxrr always returns true on Alpine linux

From: Date: Sat, 08 Aug 2020 05:07:22 +0000
Subject: Bug #79944 [PATCH]: getmxrr always returns true on Alpine linux
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-228452@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=79944&edit=1 ID: 79944 Patch added by: wahyunuralan@gmail.com Reported by: ekin@php.net Summary: getmxrr always returns true on Alpine linux Status: Open Type: Bug Package: *Network Functions Operating System: Alpine 3.11 PHP Version: 7.4.9 Block user comment: N Private report: N New Comment: The following pull request has been associated: Patch Name: Don't use eregi since it was removed in PHP 7 On GitHub: https://github.com/php/pecl-database-ibm_db2/pull/10 Patch: https://github.com/php/pecl-database-ibm_db2/pull/10.patch Previous Comments: ------------------------------------------------------------------------ [2020-08-07 23:29:35] ekin@php.net Description: ------------ getmxrr() always returns true on alpine linux. Recently the following bug was fixed https://bugs.php.net/bug.php?id=78008 thanks to this PR: https://github.com/php/php-src/pull/5854 and it was merged into the 7.4.9 release. Our A, CNAME and MX record tests were failing before we upgraded to 7.4.9 today and now A and CNAME tests do pass correctly (they use checkdnsrr()), however MX test doesn't. Test script: --------------- var_dump(getmxrr('meta.stackoverflow.com', $hosts)); Expected result: ---------------- bool(false) Actual result: -------------- bool(true) ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=79944&edit=1

« previous php.bugs (#228452) next »