Skip to content

Commit 58f15e1

Browse files
committed
fix build
1 parent 2371e12 commit 58f15e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/mbstring/mbstring.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -2317,7 +2317,7 @@ PHP_FUNCTION(mb_substr_count)
23172317
PHP_FUNCTION(mb_substr)
23182318
{
23192319
zend_string *str, *encoding = NULL;
2320-
zend_long from, len;
2320+
zend_long from, len = 0;
23212321
size_t real_from, real_len;
23222322
bool len_is_null = true;
23232323

0 commit comments

Comments
 (0)