com php-src: Use our own domains to test getmxrr(): ext/standard/tests/network/dns_get_mx.phpt

From: Date: Tue, 18 Oct 2016 12:28:49 +0000
Subject: com php-src: Use our own domains to test getmxrr(): ext/standard/tests/network/dns_get_mx.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-95201@lists.php.net to get a copy of this message
Commit: 81043bbfea834c8efca87ff0303f5e2cb2c13766 Author: Christoph M. Becker <cmbecker69@gmx.de> Tue, 18 Oct 2016 14:28:49 +0200 Parents: 371f41250cc906b7c71d2f994dec7c8eb9ab11c5 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=81043bbfea834c8efca87ff0303f5e2cb2c13766 Log: Use our own domains to test getmxrr() Changed paths: M ext/standard/tests/network/dns_get_mx.phpt Diff: diff --git a/ext/standard/tests/network/dns_get_mx.phpt b/ext/standard/tests/network/dns_get_mx.phpt index c5bf361..f6bb7ec 100644 --- a/ext/standard/tests/network/dns_get_mx.phpt +++ b/ext/standard/tests/network/dns_get_mx.phpt @@ -14,7 +14,7 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { ?> --FILE-- <?php -$domains = array('yahoo.co.jp', 'yahoo.com', 'es.yahoo.com', 'fr.yahoo.com', 'it.yahoo.com'); +$domains = array('php.net', 'doc.php.net', 'wiki.php.net'); foreach ($domains as $domain) { if (getmxrr($domain, $hosts, $weights)) { echo "Hosts: " . count($hosts) . ", weights: " . count($weights) . "\n"; @@ -25,5 +25,3 @@ foreach ($domains as $domain) { Hosts: %i, weights: %i Hosts: %i, weights: %i Hosts: %i, weights: %i -Hosts: %i, weights: %i -Hosts: %i, weights: %i

« previous php.cvs (#95201) next »