diff options
Diffstat (limited to 'ext/intl/grapheme/grapheme_string.c')
-rw-r--r-- | ext/intl/grapheme/grapheme_string.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/intl/grapheme/grapheme_string.c b/ext/intl/grapheme/grapheme_string.c index eeb44d83c8..5caacb4f28 100644 --- a/ext/intl/grapheme/grapheme_string.c +++ b/ext/intl/grapheme/grapheme_string.c @@ -844,6 +844,7 @@ PHP_FUNCTION(grapheme_extract) else { ZVAL_DEREF(next); /* initialize next */ + SEPARATE_ZVAL(next); zval_dtor(next); ZVAL_LONG(next, lstart); } |