From: Adam Dickmeiss Date: Sun, 18 May 2003 20:40:05 +0000 (+0000) Subject: Display current version as well as compiled version X-Git-Tag: RELEASE_1_0_2~759 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5a848c6f258753717f96de97c9cf3d880df220f0;p=php Display current version as well as compiled version --- diff --git a/ext/yaz/php_yaz.c b/ext/yaz/php_yaz.c index 5bea69879b..b8588ab271 100644 --- a/ext/yaz/php_yaz.c +++ b/ext/yaz/php_yaz.c @@ -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(); }