cvs: ZendEngine2 / zend_reflection_api.c

From: Date: Fri, 10 Jun 2005 10:22:37 +0000
Subject: cvs: ZendEngine2 / zend_reflection_api.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-3789@lists.php.net to get a copy of this message
dmitry Fri Jun 10 06:22:37 2005 EDT Modified files: /ZendEngine2 zend_reflection_api.c Log: Fixed support for ZEND_ACC_SHADOW in ReflectionProperty constructor http://cvs.php.net/diff.php/ZendEngine2/zend_reflection_api.c?r1=1.156&r2=1.157&ty=u Index: ZendEngine2/zend_reflection_api.c diff -u ZendEngine2/zend_reflection_api.c:1.156 ZendEngine2/zend_reflection_api.c:1.157 --- ZendEngine2/zend_reflection_api.c:1.156 Thu Jun 9 13:20:43 2005 +++ ZendEngine2/zend_reflection_api.c Fri Jun 10 06:22:36 2005 @@ -19,7 +19,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_reflection_api.c,v 1.156 2005/06/09 17:20:43 stas Exp $ */ +/* $Id: zend_reflection_api.c,v 1.157 2005/06/10 10:22:36 dmitry Exp $ */ #include "zend.h" #include "zend_API.h" #include "zend_exceptions.h" @@ -3255,7 +3255,7 @@ /* returns out of this function */ } - if (zend_hash_find(&ce->properties_info, name_str, name_len + 1, (void **) &property_info) == FAILURE || (property_info->flags | ZEND_ACC_SHADOW)) { + if (zend_hash_find(&ce->properties_info, name_str, name_len + 1, (void **) &property_info) == FAILURE || (property_info->flags & ZEND_ACC_SHADOW)) { zend_throw_exception_ex(reflection_exception_ptr, 0 TSRMLS_CC, "Property %s::$%s does not exist", ce->name, name_str); return;

« previous php.zend-engine.cvs (#3789) next »