mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
show libtidy version in the info, if available
This commit is contained in:
parent
15db83419d
commit
1223f7f91b
1 changed files with 3 additions and 0 deletions
|
@ -1083,6 +1083,9 @@ static PHP_MINFO_FUNCTION(tidy)
|
|||
{
|
||||
php_info_print_table_start();
|
||||
php_info_print_table_header(2, "Tidy support", "enabled");
|
||||
#if HAVE_TIDYBUFFIO_H
|
||||
php_info_print_table_row(2, "libTidy Version", (char *)tidyLibraryVersion());
|
||||
#endif
|
||||
php_info_print_table_row(2, "libTidy Release", (char *)tidyReleaseDate());
|
||||
php_info_print_table_row(2, "Extension Version", PHP_TIDY_VERSION " ($Id$)");
|
||||
php_info_print_table_end();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue