- Bring the majority of PECL extensions into line with macro/x.x.x versioning.
authorSteph Fox <sfox@php.net>
Mon, 31 Mar 2008 09:24:40 +0000 (09:24 +0000)
committerSteph Fox <sfox@php.net>
Mon, 31 Mar 2008 09:24:40 +0000 (09:24 +0000)
- 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

ares.c
php_ares.h

diff --git a/ares.c b/ares.c
index 89f4c61444d81779eeac074ad84d4c2fc36b9c5b..23930c345fdc88f7614c0bde96bff2a413379a37 100644 (file)
--- 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
 };
 /* }}} */
index 04d374d9e1ea6af9485fab141c37290753bad88b..a9f16c48b6e57bd7fa7c07990141fc8d1adee466 100644 (file)
@@ -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