mirror of
https://github.com/php/php-src.git
synced 2024-09-21 18:07:23 +00:00
compile fix
This commit is contained in:
parent
e640960186
commit
217e89b124
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user