|
|
|
@ -146,6 +146,7 @@ ZEND_API struct _zend_property_info *zend_get_property_info(zend_class_entry *ce |
|
|
|
zend_property_info *property_info = NULL; |
|
|
|
zend_property_info *scope_property_info; |
|
|
|
zend_bool denied_access = 0; |
|
|
|
ulong h; |
|
|
|
|
|
|
|
if (Z_STRVAL_P(member)[0] == '\0') { |
|
|
|
if (!silent) { |
|
|
|
@ -157,7 +158,7 @@ ZEND_API struct _zend_property_info *zend_get_property_info(zend_class_entry *ce |
|
|
|
} |
|
|
|
return NULL; |
|
|
|
} |
|
|
|
ulong h = zend_get_hash_value(Z_STRVAL_P(member), Z_STRLEN_P(member)+1); |
|
|
|
h = zend_get_hash_value(Z_STRVAL_P(member), Z_STRLEN_P(member) + 1); |
|
|
|
if (zend_hash_quick_find(&ce->properties_info, Z_STRVAL_P(member), Z_STRLEN_P(member)+1, h, (void **) &property_info)==SUCCESS) { |
|
|
|
if (zend_verify_property_access(property_info, ce TSRMLS_CC)) { |
|
|
|
if (property_info->flags & ZEND_ACC_CHANGED |
|
|
|
|