diff options
| author | Andrei Zmievski <andrei@php.net> | 1999-12-20 17:34:55 +0000 |
|---|---|---|
| committer | Andrei Zmievski <andrei@php.net> | 1999-12-20 17:34:55 +0000 |
| commit | 1ad5180f2819b286c7194044c27babbebddb8035 (patch) | |
| tree | 430ded83f8da9d9bc3ebc975f17189527817bebf /ext/standard | |
| parent | be1bb28355660065b8e40547505c022bbc01a785 (diff) | |
| download | php-git-1ad5180f2819b286c7194044c27babbebddb8035.tar.gz | |
getParameters -> zend_get_parameters
Diffstat (limited to 'ext/standard')
| -rw-r--r-- | ext/standard/basic_functions.c | 2 | ||||
| -rw-r--r-- | ext/standard/dns.c | 4 | ||||
| -rw-r--r-- | ext/standard/file.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c index 86bfddab38..981de17212 100644 --- a/ext/standard/basic_functions.c +++ b/ext/standard/basic_functions.c @@ -1044,7 +1044,7 @@ PHP_FUNCTION(register_shutdown_function) } shutdown_function_entry.arguments = (pval **) emalloc(sizeof(pval *)*shutdown_function_entry.arg_count); - if (getParametersArray(ht, shutdown_function_entry.arg_count, shutdown_function_entry.arguments)==FAILURE) { + if (zend_get_parameters_array(ht, shutdown_function_entry.arg_count, shutdown_function_entry.arguments)==FAILURE) { RETURN_FALSE; } convert_to_string(shutdown_function_entry.arguments[0]); diff --git a/ext/standard/dns.c b/ext/standard/dns.c index f78726c516..d5b8d7e9b1 100644 --- a/ext/standard/dns.c +++ b/ext/standard/dns.c @@ -236,7 +236,7 @@ PHP_FUNCTION(getmxrr) switch(ARG_COUNT(ht)) { case 2: - if (getParameters(ht, 2, &host, &mx_list) == FAILURE) { + if (zend_get_parameters(ht, 2, &host, &mx_list) == FAILURE) { WRONG_PARAM_COUNT; } if (!ParameterPassedByReference(ht, 2)) { @@ -245,7 +245,7 @@ PHP_FUNCTION(getmxrr) } break; case 3: - if (getParameters(ht, 3, &host, &mx_list, &weight_list) == FAILURE) { + if (zend_get_parameters(ht, 3, &host, &mx_list, &weight_list) == FAILURE) { WRONG_PARAM_COUNT; } if (!ParameterPassedByReference(ht, 2) || !ParameterPassedByReference(ht, 3)) { diff --git a/ext/standard/file.c b/ext/standard/file.c index 0dae49bb9c..63a3ea4f77 100644 --- a/ext/standard/file.c +++ b/ext/standard/file.c @@ -882,7 +882,7 @@ PHP_FUNCTION(set_socket_timeout) int type, *sock; struct timeval t; - if (ARG_COUNT(ht)!=2 || getParameters(ht, 2, &socket, &timeout)==FAILURE) { + if (ARG_COUNT(ht)!=2 || zend_get_parameters(ht, 2, &socket, &timeout)==FAILURE) { WRONG_PARAM_COUNT; } convert_to_long(socket); |
