]> granicus.if.org Git - php/commitdiff
- Print deprecation info on reflection export
authorJohannes Schlüter <johannes@php.net>
Tue, 21 Feb 2006 21:42:54 +0000 (21:42 +0000)
committerJohannes Schlüter <johannes@php.net>
Tue, 21 Feb 2006 21:42:54 +0000 (21:42 +0000)
ext/reflection/php_reflection.c

index 894368e6036f5aba8ec474beb0b3f639b1e713b5..14dd817b73d5d3b2337e9447a17327fcecbcc708 100644 (file)
@@ -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 ");
        }