From e7ffdb265457504dc9b0e0a6d8dcf60dc1e155ab Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Thu, 14 Aug 2014 21:54:57 +0400 Subject: [PATCH] Fixed support for references --- Zend/zend_object_handlers.c | 1 + 1 file changed, 1 insertion(+) 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: