diff options
Diffstat (limited to 'ext/spl')
-rw-r--r-- | ext/spl/spl_array.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/spl/spl_array.c b/ext/spl/spl_array.c index 01001f2da7..0e610ee125 100644 --- a/ext/spl/spl_array.c +++ b/ext/spl/spl_array.c @@ -560,7 +560,7 @@ try_again: } else { zval_ptr_dtor(data); ZVAL_UNDEF(data); - ht->u.v.flags |= HASH_FLAG_HAS_EMPTY_IND; + HT_FLAGS(ht) |= HASH_FLAG_HAS_EMPTY_IND; zend_hash_move_forward_ex(ht, spl_array_get_pos_ptr(ht, intern)); if (spl_array_is_object(intern)) { spl_array_skip_protected(intern, ht); |