johannes Tue Feb 21 21:42:54 2006 UTC Modified files: /php-src/ext/reflection php_reflection.c Log: - Print deprecation info on reflection export http://cvs.php.net/viewcvs.cgi/php-src/ext/reflection/php_reflection.c?r1=1.217&r2=1.218&diff_format=u Index: php-src/ext/reflection/php_reflection.c diff -u php-src/ext/reflection/php_reflection.c:1.217 php-src/ext/reflection/php_reflection.c:1.218 --- php-src/ext/reflection/php_reflection.c:1.217 Tue Feb 21 21:38:28 2006 +++ php-src/ext/reflection/php_reflection.c Tue Feb 21 21:42:54 2006 @@ -20,7 +20,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_reflection.c,v 1.217 2006/02/21 21:38:28 sebastian Exp $ */ +/* $Id: php_reflection.c,v 1.218 2006/02/21 21:42:54 johannes Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -707,6 +707,9 @@ } 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 "); } @@ -4493,7 +4496,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.217 2006/02/21 21:38:28 sebastian Exp $"); + php_info_print_table_row(2, "Version", "$Id: php_reflection.c,v 1.218 2006/02/21 21:42:54 johannes Exp $"); php_info_print_table_end(); } /* }}} */
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php