Logo

Network Functions

checkdnsrr closelog dns_check_record dns_get_mx dns_get_record fsockopen gethostbyaddr gethostbyname gethostbynamel gethostname getmxrr getprotobyname getprotobynumber getservbyname getservbyport header header_register_callback header_remove headers_list headers_sent http_response_code inet_ntop inet_pton ip2long long2ip net_get_interfaces openlog pfsockopen setcookie setrawcookie socket_get_status socket_set_blocking socket_set_timeout syslog

getmxrr

Logo laravel/framework laravel/framework
Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Get MX records corresponding to a given Internet host name
Alias dns_get_mx
<?php getmxrr(string $hostname, array &$hosts, array &$weights = null): bool