diff options
-rw-r--r-- | Zend/zend_gc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_gc.h b/Zend/zend_gc.h index 29e2ca6e02..58606ccc93 100644 --- a/Zend/zend_gc.h +++ b/Zend/zend_gc.h @@ -138,7 +138,7 @@ END_EXTERN_C() static zend_always_inline void gc_check_possible_root(zval *z TSRMLS_DC) { - if (Z_TYPE_P(z) == IS_OBJECT || + if (Z_TYPE_P(z) == IS_OBJECT || Z_TYPE_P(z) == IS_ARRAY || (Z_ISREF_P(z) && (Z_TYPE_P(Z_REFVAL_P(z)) == IS_ARRAY || Z_TYPE_P(Z_REFVAL_P(z)) == IS_OBJECT))) { gc_possible_root(Z_COUNTED_P(z) TSRMLS_CC); |