Skip to content

Commit b1767d8

Browse files
committed
Bump intl extension version to PHP release version
This patch syncs and simplifies the intl core extension versioning to match the PHP release version.
1 parent 3d16bb5 commit b1767d8

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

ext/intl/php_intl.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@
103103
#include <ext/standard/info.h>
104104

105105
#include "php_ini.h"
106-
#define INTL_MODULE_VERSION PHP_INTL_VERSION
107106

108107
/*
109108
* locale_get_default has a conflict since ICU also has
@@ -879,7 +878,7 @@ zend_module_entry intl_module_entry = {
879878
PHP_RINIT( intl ),
880879
PHP_RSHUTDOWN( intl ),
881880
PHP_MINFO( intl ),
882-
INTL_MODULE_VERSION,
881+
PHP_INTL_VERSION,
883882
PHP_MODULE_GLOBALS(intl), /* globals descriptor */
884883
PHP_GINIT(intl), /* globals ctor */
885884
NULL, /* globals dtor */
@@ -1061,7 +1060,6 @@ PHP_MINFO_FUNCTION( intl )
10611060

10621061
php_info_print_table_start();
10631062
php_info_print_table_header( 2, "Internationalization support", "enabled" );
1064-
php_info_print_table_row( 2, "version", INTL_MODULE_VERSION );
10651063
php_info_print_table_row( 2, "ICU version", U_ICU_VERSION );
10661064
#ifdef U_ICU_DATA_VERSION
10671065
php_info_print_table_row( 2, "ICU Data version", U_ICU_DATA_VERSION );

ext/intl/php_intl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ PHP_MINFO_FUNCTION(intl);
7171

7272
const char *intl_locale_get_default( void );
7373

74-
#define PHP_INTL_VERSION "1.1.0"
74+
#define PHP_INTL_VERSION PHP_VERSION
7575

7676
#endif /* PHP_INTL_H */
7777

0 commit comments

Comments
 (0)