Skip to content

Commit 81043bb

Browse files
committed
Use our own domains to test getmxrr()
1 parent 371f412 commit 81043bb

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

ext/standard/tests/network/dns_get_mx.phpt

+1-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ if (substr(PHP_OS, 0, 3) == 'WIN') {
1414
?>
1515
--FILE--
1616
<?php
17-
$domains = array('yahoo.co.jp', 'yahoo.com', 'es.yahoo.com', 'fr.yahoo.com', 'it.yahoo.com');
17+
$domains = array('php.net', 'doc.php.net', 'wiki.php.net');
1818
foreach ($domains as $domain) {
1919
if (getmxrr($domain, $hosts, $weights)) {
2020
echo "Hosts: " . count($hosts) . ", weights: " . count($weights) . "\n";
@@ -25,5 +25,3 @@ foreach ($domains as $domain) {
2525
Hosts: %i, weights: %i
2626
Hosts: %i, weights: %i
2727
Hosts: %i, weights: %i
28-
Hosts: %i, weights: %i
29-
Hosts: %i, weights: %i

0 commit comments

Comments
 (0)