summaryrefslogtreecommitdiff
path: root/ext/pcre/php_pcre.c
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2014-08-17 21:16:27 +0200
committerAnatol Belski <ab@php.net>2014-08-17 21:16:27 +0200
commitf2182ab845236a112ff63bcb8752b07943c999f1 (patch)
tree9ddc4c61f2108be91a4bae56ba8848bdd5d8eaa9 /ext/pcre/php_pcre.c
parent41115d3d9dc1f7116ac2d1bb7087a24098885a03 (diff)
downloadphp-git-f2182ab845236a112ff63bcb8752b07943c999f1.tar.gz
some more pure naming replacements
Diffstat (limited to 'ext/pcre/php_pcre.c')
-rw-r--r--ext/pcre/php_pcre.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/ext/pcre/php_pcre.c b/ext/pcre/php_pcre.c
index 3990580640..d7c7c56a93 100644
--- a/ext/pcre/php_pcre.c
+++ b/ext/pcre/php_pcre.c
@@ -558,8 +558,8 @@ static void php_do_pcre_match(INTERNAL_FUNCTION_PARAMETERS, int global) /* {{{ *
Z_PARAM_STR(subject)
Z_PARAM_OPTIONAL
Z_PARAM_ZVAL_EX(subpats, 0, 1)
- Z_PARAM_LONG(flags)
- Z_PARAM_LONG(start_offset)
+ Z_PARAM_INT(flags)
+ Z_PARAM_INT(start_offset)
ZEND_PARSE_PARAMETERS_END_EX(RETURN_FALSE);
#endif
@@ -1452,7 +1452,7 @@ static void preg_replace_impl(INTERNAL_FUNCTION_PARAMETERS, int is_callable_repl
Z_PARAM_ZVAL(replace)
Z_PARAM_ZVAL(subject)
Z_PARAM_OPTIONAL
- Z_PARAM_LONG(limit)
+ Z_PARAM_INT(limit)
Z_PARAM_ZVAL_EX(zcount, 0, 1)
ZEND_PARSE_PARAMETERS_END();
#endif
@@ -1569,8 +1569,8 @@ static PHP_FUNCTION(preg_split)
Z_PARAM_STR(regex)
Z_PARAM_STR(subject)
Z_PARAM_OPTIONAL
- Z_PARAM_LONG(limit_val)
- Z_PARAM_LONG(flags)
+ Z_PARAM_INT(limit_val)
+ Z_PARAM_INT(flags)
ZEND_PARSE_PARAMETERS_END_EX(RETURN_FALSE);
#endif
@@ -1876,7 +1876,7 @@ static PHP_FUNCTION(preg_grep)
Z_PARAM_STR(regex)
Z_PARAM_ARRAY(input)
Z_PARAM_OPTIONAL
- Z_PARAM_LONG(flags)
+ Z_PARAM_INT(flags)
ZEND_PARSE_PARAMETERS_END();
#endif