diff options
Diffstat (limited to 'ext/pcre/php_pcre.c')
| -rw-r--r-- | ext/pcre/php_pcre.c | 14 | 
1 files changed, 7 insertions, 7 deletions
diff --git a/ext/pcre/php_pcre.c b/ext/pcre/php_pcre.c index 310a996b6d..270dbd4b39 100644 --- a/ext/pcre/php_pcre.c +++ b/ext/pcre/php_pcre.c @@ -330,13 +330,13 @@ static void _pcre_match(INTERNAL_FUNCTION_PARAMETERS, int global)  	/* Get function parameters and do error-checking. */  	switch(ARG_COUNT(ht)) {  		case 2: -			if (getParametersEx(2, ®ex, &subject) == FAILURE) { +			if (zend_get_parameters_ex(2, ®ex, &subject) == FAILURE) {  				WRONG_PARAM_COUNT;  			}  			break;  		case 3: -			if (getParametersEx(3, ®ex, &subject, &subpats) == FAILURE) { +			if (zend_get_parameters_ex(3, ®ex, &subject, &subpats) == FAILURE) {  				WRONG_PARAM_COUNT;  			}  			if (global) @@ -348,7 +348,7 @@ static void _pcre_match(INTERNAL_FUNCTION_PARAMETERS, int global)  			break;  		case 4: -			if (getParametersEx(4, ®ex, &subject, &subpats, &subpats_order) == FAILURE) { +			if (zend_get_parameters_ex(4, ®ex, &subject, &subpats, &subpats_order) == FAILURE) {  				WRONG_PARAM_COUNT;  			}  			if (!ParameterPassedByReference(ht, 3)) { @@ -855,7 +855,7 @@ PHP_FUNCTION(preg_replace)  	ulong			 num_key;  	/* Get function parameters and do error-checking. */ -	if (ARG_COUNT(ht) != 3 || getParametersEx(3, ®ex, &replace, &subject) == FAILURE) { +	if (ARG_COUNT(ht) != 3 || zend_get_parameters_ex(3, ®ex, &replace, &subject) == FAILURE) {  		WRONG_PARAM_COUNT;  	} @@ -933,7 +933,7 @@ PHP_FUNCTION(preg_split)  	/* Get function parameters and do error checking */	  	argc = ARG_COUNT(ht); -	if (argc < 1 || argc > 4 || getParametersEx(argc, ®ex, &subject, &limit, &flags) == FAILURE) { +	if (argc < 1 || argc > 4 || zend_get_parameters_ex(argc, ®ex, &subject, &limit, &flags) == FAILURE) {  		WRONG_PARAM_COUNT;  	} @@ -1041,7 +1041,7 @@ PHP_FUNCTION(preg_quote)  		 	 c;				/* Current character */  	/* Get the arguments and check for errors */ -	if (ARG_COUNT(ht) != 1 || getParametersEx(1, &in_str_arg) == FAILURE) { +	if (ARG_COUNT(ht) != 1 || zend_get_parameters_ex(1, &in_str_arg) == FAILURE) {  		WRONG_PARAM_COUNT;  	} @@ -1112,7 +1112,7 @@ PHP_FUNCTION(preg_grep)  	/* Get arguments and do error checking */ -	if (ARG_COUNT(ht) != 2 || getParametersEx(ARG_COUNT(ht), ®ex, &input) == FAILURE) { +	if (ARG_COUNT(ht) != 2 || zend_get_parameters_ex(ARG_COUNT(ht), ®ex, &input) == FAILURE) {  		WRONG_PARAM_COUNT;  	}  | 
