summaryrefslogtreecommitdiff
path: root/ext/reflection/php_reflection.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 /ext/reflection/php_reflection.c
parentabe0e61801ac9d98bd5280465c9b639cfeb6a5dd (diff)
downloadphp-git-dec65f584b7768128040f69845398cf0352a5021.tar.gz
- MFH ReflectionClass::isInstantiable and abstract classes
Diffstat (limited to 'ext/reflection/php_reflection.c')
-rw-r--r--ext/reflection/php_reflection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c
index 33b479e0f5..921d9bbe64 100644
--- a/ext/reflection/php_reflection.c
+++ b/ext/reflection/php_reflection.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;
}