diff options
author | Zeev Suraski <zeev@php.net> | 2001-07-30 05:36:18 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 2001-07-30 05:36:18 +0000 |
commit | b0224d51daa79a1b72df0e4a8213e425b5582102 (patch) | |
tree | 730404b9029ae7e7ea335db411407d54f16acccb /ext/standard/dns.c | |
parent | b52554951fe50acb55e5607987994b69032198a3 (diff) | |
download | php-git-b0224d51daa79a1b72df0e4a8213e425b5582102.tar.gz |
Zend compatibility patch
Diffstat (limited to 'ext/standard/dns.c')
-rw-r--r-- | ext/standard/dns.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/ext/standard/dns.c b/ext/standard/dns.c index bf8fa2eb76..f3a4d71b8d 100644 --- a/ext/standard/dns.c +++ b/ext/standard/dns.c @@ -256,19 +256,11 @@ PHP_FUNCTION(getmxrr) if (zend_get_parameters(ht, 2, &host, &mx_list) == FAILURE) { WRONG_PARAM_COUNT; } - if (!ParameterPassedByReference(ht, 2)) { - php_error(E_WARNING, "Array to be filled with values must be passed by reference."); - RETURN_FALSE; - } break; case 3: if (zend_get_parameters(ht, 3, &host, &mx_list, &weight_list) == FAILURE) { WRONG_PARAM_COUNT; } - if (!ParameterPassedByReference(ht, 2) || !ParameterPassedByReference(ht, 3)) { - php_error(E_WARNING, "Array to be filled with values must be passed by reference."); - RETURN_FALSE; - } need_weight = 1; pval_destructor(weight_list); /* start with clean array */ if ( array_init(weight_list) == FAILURE ) { |