mirror of
https://github.com/php/php-src.git
synced 2026-03-29 11:42:17 +02:00
Use our own domains to test getmxrr()
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user