cvs: ZendEngine2(PHP_5_0) / zend_reflection_api.c
| From: | Marcus Boerger | Date: | Tue, 30 Aug 2005 06:46:38 +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-4078@lists.php.net to get a copy of this message | ||
helly Tue Aug 30 02:46:38 2005 EDT
Modified files: (Branch: PHP_5_0)
/ZendEngine2 zend_reflection_api.c
Log:
- MFH Fix #34299: ReflectionClass::isInstantiable() returns true for abstract classes
http://cvs.php.net/diff.php/ZendEngine2/zend_reflection_api.c?r1=1.111.2.24&r2=1.111.2.25&ty=u
Index: ZendEngine2/zend_reflection_api.c
diff -u ZendEngine2/zend_reflection_api.c:1.111.2.24 ZendEngine2/zend_reflection_api.c:1.111.2.25
--- ZendEngine2/zend_reflection_api.c:1.111.2.24 Wed Aug 17 07:54:10 2005
+++ ZendEngine2/zend_reflection_api.c Tue Aug 30 02:46:35 2005
@@ -19,7 +19,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_reflection_api.c,v 1.111.2.24 2005/08/17 11:54:10 dmitry Exp $ */
+/* $Id: zend_reflection_api.c,v 1.111.2.25 2005/08/30 06:46:35 helly Exp $ */
#include "zend.h"
#include "zend_API.h"
#include "zend_exceptions.h"
@@ -2527,7 +2527,7 @@
METHOD_NOTSTATIC_NUMPARAMS(0);
GET_REFLECTION_OBJECT_PTR(ce);
- if (ce->ce_flags & (ZEND_ACC_INTERFACE | ZEND_ACC_ABSTRACT)) {
+ if (ce->ce_flags & (ZEND_ACC_INTERFACE | ZEND_ACC_IMPLICIT_ABSTRACT_CLASS |
ZEND_ACC_EXPLICIT_ABSTRACT_CLASS)) {
RETURN_FALSE;
}