? bug29674.diff Index: zend_object_handlers.c =================================================================== RCS file: /repository/ZendEngine2/zend_object_handlers.c,v retrieving revision 1.104 diff -u -r1.104 zend_object_handlers.c --- zend_object_handlers.c 22 Jul 2004 11:54:27 -0000 1.104 +++ zend_object_handlers.c 24 Aug 2004 13:16:03 -0000 @@ -212,7 +212,9 @@ if (EG(scope) != zobj->ce && is_derived_class(zobj->ce, EG(scope)) && EG(scope) - && zend_hash_quick_find(&EG(scope)->properties_info, Z_STRVAL_P(member), Z_STRLEN_P(member)+1, h, (void **) &scope_property_info)==SUCCESS + && ( + zend_hash_quick_find(&EG(scope)->properties_info, Z_STRVAL_P(member), Z_STRLEN_P(member)+1, h, (void **) &scope_property_info)==SUCCESS || zend_hash_quick_find(&(zobj->ce)->properties_info, Z_STRVAL_P(member), Z_STRLEN_P(member)+1, h, (void **) &scope_property_info)==SUCCESS + ) && scope_property_info->flags & ZEND_ACC_PRIVATE) { return scope_property_info; } else if (property_info) {