Fixed support for references

This commit is contained in:
Dmitry Stogov 2014-08-14 21:54:57 +04:00
parent 05ca575bbb
commit e7ffdb2654

View File

@ -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: