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_7_0~9 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=3be59e55a9cef73cc781c67baa527354727f4199;p=m6w6%2Fext-ares - 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. --- 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