Browse Source

- Print deprecation info on reflection export

migration/RELEASE_1_0_0
Johannes Schlüter 21 years ago
parent
commit
f0331d8c12
  1. 3
      ext/reflection/php_reflection.c

3
ext/reflection/php_reflection.c

@ -707,6 +707,9 @@ static void _function_string(string *str, zend_function *fptr, zend_class_entry
}
string_printf(str, "> ");
if (fptr->common.fn_flags & ZEND_ACC_DEPRECATED) {
string_printf(str, "DEPRECATED ");
}
if (fptr->common.fn_flags & ZEND_ACC_ABSTRACT) {
string_printf(str, "abstract ");
}

Loading…
Cancel
Save