From: Antony Dovgal Date: Mon, 19 Jun 2006 18:21:28 +0000 (+0000) Subject: MFH: display oci8 version in phpinfo() X-Git-Tag: php-5.2.0RC1~283 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ba8f17e483137a573fc1b04ca91819bfac7a285a;p=php MFH: display oci8 version in phpinfo() --- diff --git a/ext/oci8/oci8.c b/ext/oci8/oci8.c index c5aad2ab1a..c42c3a8e36 100644 --- a/ext/oci8/oci8.c +++ b/ext/oci8/oci8.c @@ -371,7 +371,7 @@ zend_module_entry oci8_module_entry = { PHP_RINIT(oci), /* per-request startup function */ PHP_RSHUTDOWN(oci), /* per-request shutdown function */ PHP_MINFO(oci), /* information function */ - "1.1", + "1.2.1", PHP_MODULE_GLOBALS(oci), /* globals descriptor */ PHP_GINIT(oci), /* globals ctor */ NULL, /* globals dtor */ @@ -651,6 +651,7 @@ PHP_MINFO_FUNCTION(oci) php_info_print_table_start(); php_info_print_table_row(2, "OCI8 Support", "enabled"); + php_info_print_table_row(2, "Version", "1.2.1"); php_info_print_table_row(2, "Revision", "$Revision$"); sprintf(buf, "%ld", OCI_G(num_persistent));