diff options
| author | Zeev Suraski <zeev@php.net> | 1999-12-18 22:40:35 +0000 |
|---|---|---|
| committer | Zeev Suraski <zeev@php.net> | 1999-12-18 22:40:35 +0000 |
| commit | a1ad2872eebc17448b115a1817e95b63e3ad17e9 (patch) | |
| tree | 6088dc4e590fdc5f85baa8bfe6534aece3fba960 /ext/ereg/ereg.c | |
| parent | f1fcb022be33716d345197de1fde63ad2bcdafca (diff) | |
| download | php-git-a1ad2872eebc17448b115a1817e95b63e3ad17e9.tar.gz | |
- The tree compiles again
Diffstat (limited to 'ext/ereg/ereg.c')
| -rw-r--r-- | ext/ereg/ereg.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ext/ereg/ereg.c b/ext/ereg/ereg.c index 39107fa83b..5f5449a2f8 100644 --- a/ext/ereg/ereg.c +++ b/ext/ereg/ereg.c @@ -193,7 +193,7 @@ static void php_ereg(INTERNAL_FUNCTION_PARAMETERS, int icase) switch(ARG_COUNT(ht)) { case 2: - if (getParametersEx(2, ®ex, &findin) == FAILURE) { + if (zend_get_parameters_ex(2, ®ex, &findin) == FAILURE) { WRONG_PARAM_COUNT; } /* don't bother doing substring matching if we're not going @@ -201,7 +201,7 @@ static void php_ereg(INTERNAL_FUNCTION_PARAMETERS, int icase) copts |= REG_NOSUB; break; case 3: - if (getParametersEx(3, ®ex, &findin, &array) == FAILURE) { + if (zend_get_parameters_ex(3, ®ex, &findin, &array) == FAILURE) { WRONG_PARAM_COUNT; } if (!ParameterPassedByReference(ht, 3)) { @@ -445,7 +445,7 @@ static void php_ereg_replace(INTERNAL_FUNCTION_PARAMETERS, int icase) char *replace; char *ret; - if (ARG_COUNT(ht) != 3 || getParametersEx(3, &arg_pattern, &arg_replace, &arg_string) == FAILURE) { + if (ARG_COUNT(ht) != 3 || zend_get_parameters_ex(3, &arg_pattern, &arg_replace, &arg_string) == FAILURE) { WRONG_PARAM_COUNT; } @@ -522,12 +522,12 @@ PHP_FUNCTION(split) switch (ARG_COUNT(ht)) { case 2: - if (getParametersEx(2, &spliton, &str) == FAILURE) + if (zend_get_parameters_ex(2, &spliton, &str) == FAILURE) WRONG_PARAM_COUNT; count = -1; break; case 3: - if (getParametersEx(3, &spliton, &str, &arg_count) == FAILURE) + if (zend_get_parameters_ex(3, &spliton, &str, &arg_count) == FAILURE) WRONG_PARAM_COUNT; convert_to_long_ex(arg_count); count = (*arg_count)->value.lval; @@ -616,7 +616,7 @@ PHPAPI PHP_FUNCTION(sql_regcase) unsigned char c; register int i, j; - if (ARG_COUNT(ht)!=1 || getParametersEx(1, &string)==FAILURE) { + if (ARG_COUNT(ht)!=1 || zend_get_parameters_ex(1, &string)==FAILURE) { WRONG_PARAM_COUNT; } |
