mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Normalize Reflection phpinfo() output
This patch normalizes the Reflection extension version in the phpinfo output. It removes the Git attributes ident blob object name from Git repository as an extension version. Also the table output is synced with other extensions (i.e. enabled in a row instead of table header).
This commit is contained in:
parent
01b9975639
commit
ede39739fd
3 changed files with 1 additions and 8 deletions
1
.gitattributes
vendored
1
.gitattributes
vendored
|
@ -4,7 +4,6 @@ ext/ext_skel.php ident
|
|||
ext/phar/phar/pharcommand.inc ident
|
||||
ext/phar/phar.c ident
|
||||
ext/enchant/enchant.c ident
|
||||
ext/reflection/php_reflection.c ident
|
||||
ext/oci8/oci8.c ident
|
||||
ext/dba/libinifile/inifile.c ident
|
||||
ext/dba/libflatfile/flatfile.c ident
|
||||
|
|
|
@ -20,8 +20,6 @@
|
|||
+----------------------------------------------------------------------+
|
||||
*/
|
||||
|
||||
/* $Id$ */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
@ -6821,10 +6819,7 @@ PHP_MINIT_FUNCTION(reflection) /* {{{ */
|
|||
PHP_MINFO_FUNCTION(reflection) /* {{{ */
|
||||
{
|
||||
php_info_print_table_start();
|
||||
php_info_print_table_header(2, "Reflection", "enabled");
|
||||
|
||||
php_info_print_table_row(2, "Version", "$Id$");
|
||||
|
||||
php_info_print_table_row(2, "Reflection", "enabled");
|
||||
php_info_print_table_end();
|
||||
} /* }}} */
|
||||
|
||||
|
|
|
@ -15,7 +15,6 @@ echo "\nDone!\n";
|
|||
Reflection
|
||||
|
||||
Reflection => enabled
|
||||
Version => %s
|
||||
|
||||
date
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue