summaryrefslogtreecommitdiff
path: root/ext/reflection/php_reflection.c
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2003-10-17 08:15:48 +0000
committerMarcus Boerger <helly@php.net>2003-10-17 08:15:48 +0000
commit43a948379a1cdd7f7b955ccf9c4827fb580ef590 (patch)
tree4415cf0477566dad10bfc8fa7c4e9b9100b679ed /ext/reflection/php_reflection.c
parent4943cae9262953de09ca2bab25f3b12978d9a910 (diff)
downloadphp-git-43a948379a1cdd7f7b955ccf9c4827fb580ef590.tar.gz
Fix showing final/abstract for classes
Diffstat (limited to 'ext/reflection/php_reflection.c')
-rw-r--r--ext/reflection/php_reflection.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c
index 0b67182b99..34695fd49e 100644
--- a/ext/reflection/php_reflection.c
+++ b/ext/reflection/php_reflection.c
@@ -260,10 +260,10 @@ static void _class_string(string *str, zend_class_entry *ce, zval *obj, char *in
string_printf(str, "%s%s [ ", indent, (ce->ce_flags & ZEND_ACC_INTERFACE) ? "Interface" : "Class");
}
string_printf(str, (ce->type == ZEND_USER_CLASS) ? "<user> " : "<internal> ");
- if (ce->ce_flags & ZEND_ACC_ABSTRACT) {
+ if (ce->ce_flags & ZEND_ACC_ABSTRACT_CLASS) {
string_printf(str, "abstract ");
}
- if (ce->ce_flags & ZEND_ACC_FINAL) {
+ if (ce->ce_flags & ZEND_ACC_FINAL_CLASS) {
string_printf(str, "final ");
}
string_printf(str, (ce->ce_flags & ZEND_ACC_INTERFACE) ? "interface " : "class ");