From: Yasuo Ohgaki Date: Thu, 8 Sep 2016 05:07:57 +0000 (+0900) Subject: Fix bug26639.phpt X-Git-Tag: php-7.1.0RC2~47^2^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8c700076d745a8ea2b6ac7aa72410f86f7fbeaca;p=php Fix bug26639.phpt --- diff --git a/ext/mbstring/mbstring.c b/ext/mbstring/mbstring.c index 024da7d32b..56f7cfaa3e 100644 --- a/ext/mbstring/mbstring.c +++ b/ext/mbstring/mbstring.c @@ -3709,6 +3709,7 @@ detect_end: stack[stack_level] = var; stack_level++; var = hash_entry; + SEPARATE_ZVAL_IF_NOT_REF(hash_entry); target_hash = HASH_OF(*var); if (target_hash != NULL) { zend_hash_internal_pointer_reset(target_hash);