helly Sat Feb 25 18:05:17 2006 UTC Modified files: /php-src/ext/reflection php_reflection.c Log: - deprecated belongs in the flag area, not in the keyword area http://cvs.php.net/viewcvs.cgi/php-src/ext/reflection/php_reflection.c?r1=1.223&r2=1.224&diff_format=u Index: php-src/ext/reflection/php_reflection.c diff -u php-src/ext/reflection/php_reflection.c:1.223 php-src/ext/reflection/php_reflection.c:1.224 --- php-src/ext/reflection/php_reflection.c:1.223 Fri Feb 24 23:10:53 2006 +++ php-src/ext/reflection/php_reflection.c Sat Feb 25 18:05:16 2006 @@ -20,7 +20,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_reflection.c,v 1.223 2006/02/24 23:10:53 johannes Exp $ */ +/* $Id: php_reflection.c,v 1.224 2006/02/25 18:05:16 helly Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -680,6 +680,9 @@ string_printf(str, fptr->common.scope ? "%sMethod [ " : "%sFunction [ ", indent); string_printf(str, (fptr->type == ZEND_USER_FUNCTION) ? "<user" : "<internal"); + if (fptr->common.fn_flags & ZEND_ACC_DEPRECATED) { + string_printf(str, ", deprecated"); + } if (fptr->type == ZEND_INTERNAL_FUNCTION && ((zend_internal_function*)fptr)->module) { string_printf(str, ":%s", ((zend_internal_function*)fptr)->module->name); } @@ -708,9 +711,6 @@ } 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 "); } @@ -4500,7 +4500,7 @@ php_info_print_table_start(); php_info_print_table_header(2, "Reflection", "enabled"); - php_info_print_table_row(2, "Version", "$Id: php_reflection.c,v 1.223 2006/02/24 23:10:53 johannes Exp $"); + php_info_print_table_row(2, "Version", "$Id: php_reflection.c,v 1.224 2006/02/25 18:05:16 helly Exp $"); php_info_print_table_end(); } /* }}} */
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php