mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02: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:
parent
9bea5f443b
commit
03fd405423
24 changed files with 27 additions and 27 deletions
|
@ -512,7 +512,7 @@ PHP_MINFO_FUNCTION(pgsql)
|
|||
char buf[256];
|
||||
|
||||
php_info_print_table_start();
|
||||
php_info_print_table_header(2, "PostgreSQL Support", "enabled");
|
||||
php_info_print_table_row(2, "PostgreSQL Support", "enabled");
|
||||
php_info_print_table_row(2, "PostgreSQL (libpq) Version", pgsql_libpq_version);
|
||||
#ifdef HAVE_PGSQL_WITH_MULTIBYTE_SUPPORT
|
||||
php_info_print_table_row(2, "Multibyte character support", "enabled");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue