Skip to content

Commit c9c601e

Browse files
Update ext/mbstring/mbstring.c
Co-authored-by: Niels Dossche <7771979+nielsdos@users.noreply.github.com>
1 parent aec3136 commit c9c601e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/mbstring/mbstring.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2974,7 +2974,7 @@ static zend_string* trim_each_wchar(zend_string *str, zend_string *what, MB_TRIM
29742974

29752975
HashTable what_ht;
29762976
zval val;
2977-
ZVAL_EMPTY_STRING(&val);
2977+
ZVAL_TRUE(&val);
29782978
zend_hash_init(&what_ht, what_len, NULL, NULL, false);
29792979

29802980
while (what_len) {

0 commit comments

Comments
 (0)