#if HAVE_RES_SEARCH && !(defined(__BEOS__) || defined(PHP_WIN32) || defined(NETWARE))
PHP_FE(dns_check_record, NULL)
PHP_FALIAS(checkdnsrr, dns_check_record, NULL)
+ PHP_FE(dns_get_mx, second_and_third_args_force_ref)
+ PHP_FALIAS(getmxrr, dns_get_mx, second_and_third_args_force_ref)
# if HAVE_DNS_FUNCS
PHP_FE(dns_get_record, third_and_rest_force_ref)
- PHP_FE(dns_get_mx, second_and_third_args_force_ref)
- PHP_FALIAS(getmxrr, dns_get_mx, NULL)
# endif
#endif
}
}
/* }}} */
+#endif /* HAVE_DNS_FUNCS */
/* {{{ proto bool dns_get_mx(string hostname, array mxhosts [, array weight])
Get MX records corresponding to a given Internet host name */
}
/* }}} */
-#endif /* HAVE_DNS_FUNCS */
#endif /* HAVE_RES_SEARCH && !(defined(__BEOS__)||defined(PHP_WIN32) || defined(NETWARE)) */
/*
#if HAVE_RES_SEARCH && !(defined(__BEOS__)||defined(PHP_WIN32))
PHP_FUNCTION(dns_check_record);
+PHP_FUNCTION(dns_get_mx);
# if HAVE_DNS_FUNCS
PHP_FUNCTION(dns_get_record);
-PHP_FUNCTION(dns_get_mx);
PHP_MINIT_FUNCTION(dns);