summaryrefslogtreecommitdiff
path: root/Zend/zend_reflection_api.c
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2005-10-06 22:46:33 +0000
committerMarcus Boerger <helly@php.net>2005-10-06 22:46:33 +0000
commitdec65f584b7768128040f69845398cf0352a5021 (patch)
tree654c44de863e984e203cf4ae6a09562ed686891b /Zend/zend_reflection_api.c
parentabe0e61801ac9d98bd5280465c9b639cfeb6a5dd (diff)
downloadphp-git-dec65f584b7768128040f69845398cf0352a5021.tar.gz
- MFH ReflectionClass::isInstantiable and abstract classes
Diffstat (limited to 'Zend/zend_reflection_api.c')
-rw-r--r--Zend/zend_reflection_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_reflection_api.c b/Zend/zend_reflection_api.c
index 33b479e0f5..921d9bbe64 100644
--- a/Zend/zend_reflection_api.c
+++ b/Zend/zend_reflection_api.c
@@ -2900,7 +2900,7 @@ ZEND_METHOD(reflection_class, isInstantiable)
METHOD_NOTSTATIC_NUMPARAMS(reflection_class_ptr, 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;
}