diff --git a/Zend/zend_reflection_api.c b/Zend/zend_reflection_api.c index 0b67182b99d..34695fd49e2 100644 --- a/Zend/zend_reflection_api.c +++ b/Zend/zend_reflection_api.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) ? " " : " "); - 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 "); diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c index 0b67182b99d..34695fd49e2 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) ? " " : " "); - 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 ");