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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
24 changed files with 27 additions and 27 deletions

View file

@ -153,7 +153,7 @@ static PHP_MINFO_FUNCTION(pdo_mysql)
{
php_info_print_table_start();
php_info_print_table_header(2, "PDO Driver for MySQL", "enabled");
php_info_print_table_row(2, "PDO Driver for MySQL", "enabled");
php_info_print_table_row(2, "Client API version", mysql_get_client_info());
php_info_print_table_end();