Skip to content

Commit e84042c

Browse files
sim1984cmb69
authored andcommitted
Print Client Library Version in phpinfo
1 parent 4c717ab commit e84042c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ext/pdo_firebird/pdo_firebird.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,12 @@ PHP_MSHUTDOWN_FUNCTION(pdo_firebird) /* {{{ */
8282

8383
PHP_MINFO_FUNCTION(pdo_firebird) /* {{{ */
8484
{
85+
char version[64];
86+
isc_get_client_version(version);
87+
8588
php_info_print_table_start();
8689
php_info_print_table_header(2, "PDO Driver for Firebird", "enabled");
90+
php_info_print_table_row(2, "Client Library Version", version);
8791
php_info_print_table_end();
8892
}
8993
/* }}} */

0 commit comments

Comments
 (0)