<?php$bool = dns_get_mx ( "domainmx.net", // string $hostname $mxhosts, // array &$mxhosts // [array &$weight]);?>
$mxhosts = [ 0 => 'mx2.domainMX.net', 1 => 'mx3.domainMX.net',] $bool = true
[ 0 => 'mx2.domainMX.net', 1 => 'mx3.domainMX.net',]
true
#1
dns_get_mx
("www.example.com", $mxhosts)
#2
("domainmx.net", $mxhosts)