From: Steph Fox Date: Mon, 31 Mar 2008 09:24:40 +0000 (+0000) Subject: - Bring the majority of PECL extensions into line with macro/x.x.x versioning. X-Git-Tag: RELEASE_0_8_0~29 X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-ares;a=commitdiff_plain;h=7a05d9af866dc87928ee532db46f0d6483c342fa - Bring the majority of PECL extensions into line with macro/x.x.x versioning. - Please use the -dev tag during the development cycle so that snapshots can easily be distinguished from releases. git-svn-id: http://svn.php.net/repository/pecl/ares/trunk@256407 c90b9560-bf6c-de11-be94-00142212c4b1 --- diff --git a/ares.c b/ares.c index 89f4c61..23930c3 100644 --- a/ares.c +++ b/ares.c @@ -1734,6 +1734,7 @@ static PHP_MINFO_FUNCTION(ares) { php_info_print_table_start(); php_info_print_table_header(2, "AsyncResolver support", "enabled"); + php_info_print_table_row(2, "Version", PHP_ARES_VERSION); php_info_print_table_end(); php_info_print_table_start(); @@ -1830,7 +1831,7 @@ zend_module_entry ares_module_entry = { NULL, NULL, PHP_MINFO(ares), - NO_VERSION_YET, + PHP_ARES_VERSION, STANDARD_MODULE_PROPERTIES }; /* }}} */ diff --git a/php_ares.h b/php_ares.h index 04d374d..a9f16c4 100644 --- a/php_ares.h +++ b/php_ares.h @@ -18,6 +18,8 @@ extern zend_module_entry ares_module_entry; #define phpext_ares_ptr &ares_module_entry +#define PHP_ARES_VERSION "0.7.0-dev" + #ifdef ZTS #include "TSRM.h" #endif