mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01: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:
committed by
Christoph M. Becker
parent
01b9975639
commit
ede39739fd
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user