We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7e84e2 commit 9b4094cCopy full SHA for 9b4094c
ext/mbstring/mbstring.c
@@ -2130,7 +2130,7 @@ PHP_FUNCTION(mb_substr)
2130
zend_bool len_is_null = 1;
2131
mbfl_string string, result, *ret;
2132
2133
- ZEND_PARSE_PARAMETERS_START(2, 5)
+ ZEND_PARSE_PARAMETERS_START(2, 4)
2134
Z_PARAM_STRING(str, str_len)
2135
Z_PARAM_LONG(from)
2136
Z_PARAM_OPTIONAL
@@ -2194,7 +2194,7 @@ PHP_FUNCTION(mb_strcut)
2194
2195
2196
2197
2198
Z_PARAM_STRING(string_val, string.len)
2199
2200
0 commit comments