cvs: ZendEngine2(PHP_5_0) / zend_reflection_api.c
| From: | Dmitry Stogov | Date: | Fri, 10 Jun 2005 10:22:51 +0000 |
| Subject: | cvs: ZendEngine2(PHP_5_0) / zend_reflection_api.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-3790@lists.php.net to get a copy of this message | ||
dmitry Fri Jun 10 06:22:51 2005 EDT
Modified files: (Branch: PHP_5_0)
/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.111.2.21&r2=1.111.2.22&ty=u
Index: ZendEngine2/zend_reflection_api.c
diff -u ZendEngine2/zend_reflection_api.c:1.111.2.21 ZendEngine2/zend_reflection_api.c:1.111.2.22
--- ZendEngine2/zend_reflection_api.c:1.111.2.21 Thu Jun 9 12:59:56 2005
+++ ZendEngine2/zend_reflection_api.c Fri Jun 10 06:22:50 2005
@@ -19,7 +19,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_reflection_api.c,v 1.111.2.21 2005/06/09 16:59:56 stas Exp $ */
+/* $Id: zend_reflection_api.c,v 1.111.2.22 2005/06/10 10:22:50 dmitry Exp $ */
#include "zend.h"
#include "zend_API.h"
#include "zend_exceptions.h"
@@ -2911,7 +2911,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;