summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimonov Denis <sim-mail@list.ru>2019-10-31 18:40:15 +0100
committerChristoph M. Becker <cmbecker69@gmx.de>2019-11-02 10:19:15 +0100
commite84042cc7216c4d2ec1788756c78b00bfba413c1 (patch)
tree317baa53def48599461b3e560019541ead4a23c7
parent4c717abad20473ea0fb7b71a5c442b9e4a5b719a (diff)
downloadphp-git-e84042cc7216c4d2ec1788756c78b00bfba413c1.tar.gz
Print Client Library Version in phpinfo
-rw-r--r--ext/pdo_firebird/pdo_firebird.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/pdo_firebird/pdo_firebird.c b/ext/pdo_firebird/pdo_firebird.c
index 71dec4add2..00b4001752 100644
--- a/ext/pdo_firebird/pdo_firebird.c
+++ b/ext/pdo_firebird/pdo_firebird.c
@@ -82,8 +82,12 @@ PHP_MSHUTDOWN_FUNCTION(pdo_firebird) /* {{{ */
PHP_MINFO_FUNCTION(pdo_firebird) /* {{{ */
{
+ char version[64];
+ isc_get_client_version(version);
+
php_info_print_table_start();
php_info_print_table_header(2, "PDO Driver for Firebird", "enabled");
+ php_info_print_table_row(2, "Client Library Version", version);
php_info_print_table_end();
}
/* }}} */