1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Use php_info_print_table_header for actual column headers only (#9485)

Using php_info_print_table_header() for "Foo: bar" looks odd and out of place,
because the whole line is colored. It is also questionable from a HTML
semantics point of view, because it does not described the columns that follow.

The use of this across extensions is inconsistent. It was part of the skeleton,
but ext/date or ext/json already use a regular row.
This commit is contained in:
Tim Düsterhus
2022-09-06 08:48:22 +02:00
committed by GitHub
parent 9bea5f443b
commit 03fd405423
24 changed files with 27 additions and 27 deletions

View File

@@ -58,7 +58,7 @@ PHP_RINIT_FUNCTION(%EXTNAME%)
PHP_MINFO_FUNCTION(%EXTNAME%)
{
php_info_print_table_start();
php_info_print_table_header(2, "%EXTNAME% support", "enabled");
php_info_print_table_row(2, "%EXTNAME% support", "enabled");
php_info_print_table_end();
}
/* }}} */