mirror of
https://github.com/php/php-src.git
synced 2024-11-27 03:44:07 +08:00
Display current version as well as compiled version
This commit is contained in:
parent
94925b1c33
commit
5a848c6f25
@ -1542,10 +1542,13 @@ PHP_MSHUTDOWN_FUNCTION(yaz)
|
||||
|
||||
PHP_MINFO_FUNCTION(yaz)
|
||||
{
|
||||
char version_str[20];
|
||||
|
||||
yaz_version(version_str, 0);
|
||||
php_info_print_table_start();
|
||||
php_info_print_table_row(2, "YAZ Support", "enabled");
|
||||
php_info_print_table_row(2, "YAZ Version", YAZ_VERSION);
|
||||
php_info_print_table_row(2, "ZOOM", "enabled");
|
||||
php_info_print_table_row(2, "YAZ Version", version_str);
|
||||
php_info_print_table_row(2, "Compiled with YAZ version", YAZ_VERSION);
|
||||
php_info_print_table_end();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user