summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/pcre/php_pcre.c12
-rw-r--r--ext/standard/array.c4
-rw-r--r--ext/standard/html.c4
-rw-r--r--ext/standard/math.c2
-rw-r--r--ext/standard/string.c10
-rw-r--r--ext/standard/type.c2
6 files changed, 17 insertions, 17 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
diff --git a/ext/standard/array.c b/ext/standard/array.c
index 72e473f26e..b04509a855 100644
--- a/ext/standard/array.c
+++ b/ext/standard/array.c
@@ -300,7 +300,7 @@ PHP_FUNCTION(count)
ZEND_PARSE_PARAMETERS_START(1, 2)
Z_PARAM_ZVAL(array)
Z_PARAM_OPTIONAL
- Z_PARAM_LONG(mode)
+ Z_PARAM_INT(mode)
ZEND_PARSE_PARAMETERS_END();
#endif
@@ -2237,7 +2237,7 @@ PHP_FUNCTION(array_slice)
#else
ZEND_PARSE_PARAMETERS_START(2, 4)
Z_PARAM_ARRAY(input)
- Z_PARAM_LONG(offset)
+ Z_PARAM_INT(offset)
Z_PARAM_OPTIONAL
Z_PARAM_ZVAL(z_length)
Z_PARAM_BOOL(preserve_keys)
diff --git a/ext/standard/html.c b/ext/standard/html.c
index e729c1245d..abb15f2440 100644
--- a/ext/standard/html.c
+++ b/ext/standard/html.c
@@ -1456,7 +1456,7 @@ static void php_html_entities(INTERNAL_FUNCTION_PARAMETERS, int all)
ZEND_PARSE_PARAMETERS_START(1, 4)
Z_PARAM_STR(str)
Z_PARAM_OPTIONAL
- Z_PARAM_LONG(flags)
+ Z_PARAM_INT(flags)
Z_PARAM_STR_EX(hint_charset, 1, 0)
Z_PARAM_BOOL(double_encode);
ZEND_PARSE_PARAMETERS_END();
@@ -1540,7 +1540,7 @@ PHP_FUNCTION(html_entity_decode)
ZEND_PARSE_PARAMETERS_START(1, 3)
Z_PARAM_STR(str)
Z_PARAM_OPTIONAL
- Z_PARAM_LONG(quote_style)
+ Z_PARAM_INT(quote_style)
Z_PARAM_STR(hint_charset)
ZEND_PARSE_PARAMETERS_END();
#endif
diff --git a/ext/standard/math.c b/ext/standard/math.c
index bf97f43770..648408e840 100644
--- a/ext/standard/math.c
+++ b/ext/standard/math.c
@@ -1363,7 +1363,7 @@ PHP_FUNCTION(number_format)
ZEND_PARSE_PARAMETERS_START(1, 4)
Z_PARAM_DOUBLE(num)
Z_PARAM_OPTIONAL
- Z_PARAM_LONG(dec)
+ Z_PARAM_INT(dec)
Z_PARAM_STRING_EX(dec_point, dec_point_len, 1, 0)
Z_PARAM_STRING_EX(thousand_sep, thousand_sep_len, 1, 0)
ZEND_PARSE_PARAMETERS_END();
diff --git a/ext/standard/string.c b/ext/standard/string.c
index 0761f88387..7d96fceec2 100644
--- a/ext/standard/string.c
+++ b/ext/standard/string.c
@@ -1096,7 +1096,7 @@ PHP_FUNCTION(explode)
Z_PARAM_STR(delim)
Z_PARAM_STR(str)
Z_PARAM_OPTIONAL
- Z_PARAM_LONG(limit)
+ Z_PARAM_INT(limit)
ZEND_PARSE_PARAMETERS_END();
#endif
@@ -1812,7 +1812,7 @@ PHP_FUNCTION(strpos)
Z_PARAM_STR(haystack)
Z_PARAM_ZVAL(needle)
Z_PARAM_OPTIONAL
- Z_PARAM_LONG(offset)
+ Z_PARAM_INT(offset)
ZEND_PARSE_PARAMETERS_END();
#endif
@@ -1934,7 +1934,7 @@ PHP_FUNCTION(strrpos)
Z_PARAM_STR(haystack)
Z_PARAM_ZVAL(zneedle)
Z_PARAM_OPTIONAL
- Z_PARAM_LONG(offset)
+ Z_PARAM_INT(offset)
ZEND_PARSE_PARAMETERS_END_EX(RETURN_FALSE);
#endif
@@ -2243,9 +2243,9 @@ PHP_FUNCTION(substr)
#else
ZEND_PARSE_PARAMETERS_START(2, 3)
Z_PARAM_STR(str)
- Z_PARAM_LONG(f)
+ Z_PARAM_INT(f)
Z_PARAM_OPTIONAL
- Z_PARAM_LONG(l)
+ Z_PARAM_INT(l)
ZEND_PARSE_PARAMETERS_END();
#endif
diff --git a/ext/standard/type.c b/ext/standard/type.c
index 57b3b61ce8..574744d9ba 100644
--- a/ext/standard/type.c
+++ b/ext/standard/type.c
@@ -151,7 +151,7 @@ PHP_FUNCTION(intval)
ZEND_PARSE_PARAMETERS_START(1, 2)
Z_PARAM_ZVAL(num)
Z_PARAM_OPTIONAL
- Z_PARAM_LONG(base)
+ Z_PARAM_INT(base)
ZEND_PARSE_PARAMETERS_END();
#endif