Skip to content

Commit 21eddde

Browse files
committed
Merge branch 'PHP-7.4'
* PHP-7.4: Print Client Library Version in phpinfo
2 parents dde2bcb + e84042c commit 21eddde

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
@@ -80,8 +80,12 @@ PHP_MSHUTDOWN_FUNCTION(pdo_firebird) /* {{{ */
8080

8181
PHP_MINFO_FUNCTION(pdo_firebird) /* {{{ */
8282
{
83+
char version[64];
84+
isc_get_client_version(version);
85+
8386
php_info_print_table_start();
8487
php_info_print_table_header(2, "PDO Driver for Firebird", "enabled");
88+
php_info_print_table_row(2, "Client Library Version", version);
8589
php_info_print_table_end();
8690
}
8791
/* }}} */

0 commit comments

Comments
 (0)