property_info.doc_comment = doc_comment;
property_info.doc_comment_len = doc_comment_len;
-
+
property_info.ce = ce;
zend_u_hash_update(&ce->properties_info, type, name, name_length + 1, &property_info, sizeof(zend_property_info), NULL);
if (EG(scope) != ce
&& is_derived_class(ce, EG(scope))
&& EG(scope)
- && zend_u_hash_quick_find(&EG(scope)->properties_info, Z_TYPE_P(member), Z_UNIVAL_P(member), Z_UNILEN_P(member)+1, h, (void **) &scope_property_info)==SUCCESS
+ && zend_u_hash_quick_find(&EG(scope)->properties_info, Z_TYPE_P(member), Z_UNIVAL_P(member), Z_UNILEN_P(member)+1, h, (void **) &scope_property_info)==SUCCESS
&& scope_property_info->flags & ZEND_ACC_PRIVATE) {
return scope_property_info;
} else if (property_info) {
EG(std_property_info).name = Z_UNIVAL_P(member);
EG(std_property_info).name_length = Z_UNILEN_P(member);
EG(std_property_info).h = h;
- EG(std_property_info).ce = ce;;
+ EG(std_property_info).ce = ce;
property_info = &EG(std_property_info);
}
return property_info;