summaryrefslogtreecommitdiff
path: root/ext/intl/timezone
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2017-12-14 18:43:44 +0300
committerDmitry Stogov <dmitry@zend.com>2017-12-14 18:43:44 +0300
commit9e709e2fa02b85d0d10c864d6c996e3368e977ce (patch)
tree148bedd2674933ba40e59f15fcfa2981f7aead85 /ext/intl/timezone
parent71eaf0d97f173093253163db8c4720bd62387e34 (diff)
downloadphp-git-9e709e2fa02b85d0d10c864d6c996e3368e977ce.tar.gz
Move constants into read-only data segment
Diffstat (limited to 'ext/intl/timezone')
-rw-r--r--ext/intl/timezone/timezone_class.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/intl/timezone/timezone_class.cpp b/ext/intl/timezone/timezone_class.cpp
index c6f4dd5447..223fad06b7 100644
--- a/ext/intl/timezone/timezone_class.cpp
+++ b/ext/intl/timezone/timezone_class.cpp
@@ -454,7 +454,7 @@ ZEND_END_ARG_INFO()
/* {{{ TimeZone_class_functions
* Every 'IntlTimeZone' class method has an entry in this table
*/
-static zend_function_entry TimeZone_class_functions[] = {
+static const zend_function_entry TimeZone_class_functions[] = {
PHP_ME(IntlTimeZone, __construct, ainfo_tz_void, ZEND_ACC_PRIVATE)
PHP_ME_MAPPING(createTimeZone, intltz_create_time_zone, ainfo_tz_idarg, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC)
PHP_ME_MAPPING(fromDateTimeZone, intltz_from_date_time_zone, ainfo_tz_idarg, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC)