diff --git a/Zend/zend_object_handlers.c b/Zend/zend_object_handlers.c index 6f0dc7811ee..d7d8bf0a522 100644 --- a/Zend/zend_object_handlers.c +++ b/Zend/zend_object_handlers.c @@ -1469,6 +1469,7 @@ static int zend_std_has_property(zval *object, zval *member, int has_set_exists, found: switch (has_set_exists) { case 0: + ZVAL_DEREF(value); result = (Z_TYPE_P(value) != IS_NULL); break; default: