com php-src: Bump intl extension version to PHP release version: ext/intl/php_intl.c ext/intl/php_intl.h
| From: | Stanislav Malyshev | Date: | Thu, 14 Jun 2018 21:35:29 +0000 |
| Subject: | com php-src: Bump intl extension version to PHP release version: ext/intl/php_intl.c ext/intl/php_intl.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-102172@lists.php.net to get a copy of this message | ||
Commit: b1767d8a5625d7347e500e1230cf6c6c66d111ad
Author: Peter Kokot <peterkokot@gmail.com> Thu, 14 Jun 2018 23:35:29 +0200
Parents: 3d16bb5b62bd3a2a1671be5d2111b23780420cdb
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=b1767d8a5625d7347e500e1230cf6c6c66d111ad
Log:
Bump intl extension version to PHP release version
This patch syncs and simplifies the intl core extension versioning
to match the PHP release version.
Changed paths:
M ext/intl/php_intl.c
M ext/intl/php_intl.h
Diff:
diff --git a/ext/intl/php_intl.c b/ext/intl/php_intl.c
index 05832ea..dc02891 100644
--- a/ext/intl/php_intl.c
+++ b/ext/intl/php_intl.c
@@ -103,7 +103,6 @@
#include <ext/standard/info.h>
#include "php_ini.h"
-#define INTL_MODULE_VERSION PHP_INTL_VERSION
/*
* locale_get_default has a conflict since ICU also has
@@ -879,7 +878,7 @@ zend_module_entry intl_module_entry = {
PHP_RINIT( intl ),
PHP_RSHUTDOWN( intl ),
PHP_MINFO( intl ),
- INTL_MODULE_VERSION,
+ PHP_INTL_VERSION,
PHP_MODULE_GLOBALS(intl), /* globals descriptor */
PHP_GINIT(intl), /* globals ctor */
NULL, /* globals dtor */
@@ -1061,7 +1060,6 @@ PHP_MINFO_FUNCTION( intl )
php_info_print_table_start();
php_info_print_table_header( 2, "Internationalization support", "enabled" );
- php_info_print_table_row( 2, "version", INTL_MODULE_VERSION );
php_info_print_table_row( 2, "ICU version", U_ICU_VERSION );
#ifdef U_ICU_DATA_VERSION
php_info_print_table_row( 2, "ICU Data version", U_ICU_DATA_VERSION );
diff --git a/ext/intl/php_intl.h b/ext/intl/php_intl.h
index e672e54..6d8f46a 100644
--- a/ext/intl/php_intl.h
+++ b/ext/intl/php_intl.h
@@ -71,7 +71,7 @@ PHP_MINFO_FUNCTION(intl);
const char *intl_locale_get_default( void );
-#define PHP_INTL_VERSION "1.1.0"
+#define PHP_INTL_VERSION PHP_VERSION
#endif /* PHP_INTL_H */