diff options
Diffstat (limited to 'ext/intl')
-rw-r--r-- | ext/intl/collator/collator_class.c | 2 | ||||
-rw-r--r-- | ext/intl/common/common_enum.cpp | 2 | ||||
-rw-r--r-- | ext/intl/converter/converter.c | 2 | ||||
-rw-r--r-- | ext/intl/dateformat/dateformat_class.c | 2 | ||||
-rw-r--r-- | ext/intl/formatter/formatter_class.c | 2 | ||||
-rw-r--r-- | ext/intl/locale/locale_class.c | 2 | ||||
-rw-r--r-- | ext/intl/msgformat/msgformat_class.c | 2 | ||||
-rw-r--r-- | ext/intl/normalizer/normalizer_class.c | 2 | ||||
-rw-r--r-- | ext/intl/php_intl.c | 2 | ||||
-rw-r--r-- | ext/intl/resourcebundle/resourcebundle_class.c | 2 | ||||
-rw-r--r-- | ext/intl/spoofchecker/spoofchecker_class.c | 2 | ||||
-rw-r--r-- | ext/intl/timezone/timezone_class.cpp | 2 | ||||
-rw-r--r-- | ext/intl/transliterator/transliterator_class.c | 2 | ||||
-rw-r--r-- | ext/intl/uchar/uchar.c | 2 |
14 files changed, 14 insertions, 14 deletions
diff --git a/ext/intl/collator/collator_class.c b/ext/intl/collator/collator_class.c index fd2a616feb..42562eae48 100644 --- a/ext/intl/collator/collator_class.c +++ b/ext/intl/collator/collator_class.c @@ -96,7 +96,7 @@ ZEND_END_ARG_INFO() * Every 'Collator' class method has an entry in this table */ -zend_function_entry Collator_class_functions[] = { +static const zend_function_entry Collator_class_functions[] = { PHP_ME( Collator, __construct, collator_1_arg, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR ) ZEND_FENTRY( create, ZEND_FN( collator_create ), collator_1_arg, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC ) PHP_NAMED_FE( compare, ZEND_FN( collator_compare ), collator_2_args ) diff --git a/ext/intl/common/common_enum.cpp b/ext/intl/common/common_enum.cpp index 8c964bdd25..9b95f25528 100644 --- a/ext/intl/common/common_enum.cpp +++ b/ext/intl/common/common_enum.cpp @@ -296,7 +296,7 @@ static PHP_METHOD(IntlIterator, valid) ZEND_BEGIN_ARG_INFO_EX(ainfo_se_void, 0, 0, 0) ZEND_END_ARG_INFO() -static zend_function_entry IntlIterator_class_functions[] = { +static const zend_function_entry IntlIterator_class_functions[] = { PHP_ME(IntlIterator, current, ainfo_se_void, ZEND_ACC_PUBLIC) PHP_ME(IntlIterator, key, ainfo_se_void, ZEND_ACC_PUBLIC) PHP_ME(IntlIterator, next, ainfo_se_void, ZEND_ACC_PUBLIC) diff --git a/ext/intl/converter/converter.c b/ext/intl/converter/converter.c index bab4bb9881..b71e2b9fef 100644 --- a/ext/intl/converter/converter.c +++ b/ext/intl/converter/converter.c @@ -963,7 +963,7 @@ static PHP_METHOD(UConverter, getStandards) { } /* }}} */ -static zend_function_entry php_converter_methods[] = { +static const zend_function_entry php_converter_methods[] = { PHP_ME(UConverter, __construct, php_converter_arginfo, ZEND_ACC_PUBLIC | ZEND_ACC_CTOR) /* Encoding selection */ diff --git a/ext/intl/dateformat/dateformat_class.c b/ext/intl/dateformat/dateformat_class.c index 378c5a8be1..c8a2e22e90 100644 --- a/ext/intl/dateformat/dateformat_class.c +++ b/ext/intl/dateformat/dateformat_class.c @@ -157,7 +157,7 @@ ZEND_END_ARG_INFO() /* {{{ IntlDateFormatter_class_functions * Every 'IntlDateFormatter' class method has an entry in this table */ -static zend_function_entry IntlDateFormatter_class_functions[] = { +static const zend_function_entry IntlDateFormatter_class_functions[] = { PHP_ME( IntlDateFormatter, __construct, arginfo_intldateformatter___construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR ) ZEND_FENTRY( create, ZEND_FN( datefmt_create ), arginfo_intldateformatter___construct, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC ) PHP_NAMED_FE( getDateType, ZEND_FN( datefmt_get_datetype ), arginfo_intldateformatter_getdatetype ) diff --git a/ext/intl/formatter/formatter_class.c b/ext/intl/formatter/formatter_class.c index d15311201e..22a2a4e3e3 100644 --- a/ext/intl/formatter/formatter_class.c +++ b/ext/intl/formatter/formatter_class.c @@ -150,7 +150,7 @@ ZEND_END_ARG_INFO() /* {{{ NumberFormatter_class_functions * Every 'NumberFormatter' class method has an entry in this table */ -static zend_function_entry NumberFormatter_class_functions[] = { +static const zend_function_entry NumberFormatter_class_functions[] = { PHP_ME( NumberFormatter, __construct, arginfo_numberformatter___construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR ) ZEND_FENTRY( create, ZEND_FN( numfmt_create ), arginfo_numberformatter___construct, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC ) PHP_NAMED_FE( format, ZEND_FN( numfmt_format ), arginfo_numberformatter_format ) diff --git a/ext/intl/locale/locale_class.c b/ext/intl/locale/locale_class.c index d132ef8c76..d59536955e 100644 --- a/ext/intl/locale/locale_class.c +++ b/ext/intl/locale/locale_class.c @@ -74,7 +74,7 @@ ZEND_END_ARG_INFO() * Every 'Locale' class method has an entry in this table */ -zend_function_entry Locale_class_functions[] = { +static const zend_function_entry Locale_class_functions[] = { ZEND_FENTRY( getDefault, zif_locale_get_default , locale_0_args , ZEND_ACC_PUBLIC|ZEND_ACC_STATIC ) ZEND_FENTRY( setDefault, zif_locale_set_default , locale_arg_locale , ZEND_ACC_PUBLIC|ZEND_ACC_STATIC ) ZEND_FENTRY( getPrimaryLanguage, ZEND_FN( locale_get_primary_language ), locale_arg_locale , ZEND_ACC_PUBLIC|ZEND_ACC_STATIC ) diff --git a/ext/intl/msgformat/msgformat_class.c b/ext/intl/msgformat/msgformat_class.c index aa7b839904..a61d8f4d3e 100644 --- a/ext/intl/msgformat/msgformat_class.c +++ b/ext/intl/msgformat/msgformat_class.c @@ -124,7 +124,7 @@ ZEND_END_ARG_INFO() /* {{{ MessageFormatter_class_functions * Every 'MessageFormatter' class method has an entry in this table */ -static zend_function_entry MessageFormatter_class_functions[] = { +static const zend_function_entry MessageFormatter_class_functions[] = { PHP_ME( MessageFormatter, __construct, arginfo_messageformatter___construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR ) ZEND_FENTRY( create, ZEND_FN( msgfmt_create ), arginfo_messageformatter___construct, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC ) PHP_NAMED_FE( format, ZEND_FN( msgfmt_format ), arginfo_messageformatter_format ) diff --git a/ext/intl/normalizer/normalizer_class.c b/ext/intl/normalizer/normalizer_class.c index 894a3893f7..87b274ebfc 100644 --- a/ext/intl/normalizer/normalizer_class.c +++ b/ext/intl/normalizer/normalizer_class.c @@ -40,7 +40,7 @@ ZEND_END_ARG_INFO() * Every 'Normalizer' class method has an entry in this table */ -zend_function_entry Normalizer_class_functions[] = { +static const zend_function_entry Normalizer_class_functions[] = { ZEND_FENTRY( normalize, ZEND_FN( normalizer_normalize ), normalizer_args, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC ) ZEND_FENTRY( isNormalized, ZEND_FN( normalizer_is_normalized ), normalizer_args, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC ) PHP_FE_END diff --git a/ext/intl/php_intl.c b/ext/intl/php_intl.c index b97004d03f..7b2f206e52 100644 --- a/ext/intl/php_intl.c +++ b/ext/intl/php_intl.c @@ -624,7 +624,7 @@ ZEND_END_ARG_INFO() * * Every user visible function must have an entry in intl_functions[]. */ -zend_function_entry intl_functions[] = { +static const zend_function_entry intl_functions[] = { /* collator functions */ PHP_FE( collator_create, collator_static_1_arg ) diff --git a/ext/intl/resourcebundle/resourcebundle_class.c b/ext/intl/resourcebundle/resourcebundle_class.c index 3850a3b22e..7cd6d2be09 100644 --- a/ext/intl/resourcebundle/resourcebundle_class.c +++ b/ext/intl/resourcebundle/resourcebundle_class.c @@ -420,7 +420,7 @@ PHP_FUNCTION( resourcebundle_get_error_message ) /* {{{ ResourceBundle_class_functions * Every 'ResourceBundle' class method has an entry in this table */ -static zend_function_entry ResourceBundle_class_functions[] = { +static const zend_function_entry ResourceBundle_class_functions[] = { PHP_ME( ResourceBundle, __construct, arginfo_resourcebundle___construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR ) ZEND_NAMED_ME( create, ZEND_FN( resourcebundle_create ), arginfo_resourcebundle___construct, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC ) ZEND_NAMED_ME( get, ZEND_FN(resourcebundle_get), arginfo_resourcebundle_get, ZEND_ACC_PUBLIC ) diff --git a/ext/intl/spoofchecker/spoofchecker_class.c b/ext/intl/spoofchecker/spoofchecker_class.c index 8b4274d374..f94220526d 100644 --- a/ext/intl/spoofchecker/spoofchecker_class.c +++ b/ext/intl/spoofchecker/spoofchecker_class.c @@ -95,7 +95,7 @@ ZEND_END_ARG_INFO() * Every 'Spoofchecker' class method has an entry in this table */ -zend_function_entry Spoofchecker_class_functions[] = { +static const zend_function_entry Spoofchecker_class_functions[] = { PHP_ME(Spoofchecker, __construct, spoofchecker_0_args, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR) PHP_ME(Spoofchecker, isSuspicious, spoofchecker_is_suspicous, ZEND_ACC_PUBLIC) PHP_ME(Spoofchecker, areConfusable, spoofchecker_are_confusable, ZEND_ACC_PUBLIC) 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) diff --git a/ext/intl/transliterator/transliterator_class.c b/ext/intl/transliterator/transliterator_class.c index 1b0b99be97..77a0fcf3d9 100644 --- a/ext/intl/transliterator/transliterator_class.c +++ b/ext/intl/transliterator/transliterator_class.c @@ -311,7 +311,7 @@ ZEND_END_ARG_INFO() /* {{{ Transliterator_class_functions * Every 'Transliterator' class method has an entry in this table */ -zend_function_entry Transliterator_class_functions[] = { +static const zend_function_entry Transliterator_class_functions[] = { PHP_ME( Transliterator, __construct, ainfo_trans_void, ZEND_ACC_PRIVATE | ZEND_ACC_CTOR | ZEND_ACC_FINAL ) PHP_ME_MAPPING( create, transliterator_create, ainfo_trans_create, ZEND_ACC_STATIC |ZEND_ACC_PUBLIC ) PHP_ME_MAPPING( createFromRules,transliterator_create_from_rules, ainfo_trans_create_from_rules, ZEND_ACC_STATIC | ZEND_ACC_PUBLIC ) diff --git a/ext/intl/uchar/uchar.c b/ext/intl/uchar/uchar.c index 1add74b2b5..770622eca7 100644 --- a/ext/intl/uchar/uchar.c +++ b/ext/intl/uchar/uchar.c @@ -665,7 +665,7 @@ IC_CHAR_METHOD_CHAR(getBidiPairedBracket) #undef IC_CHAR_METHOD_CHAR /* }}} */ -static zend_function_entry intlchar_methods[] = { +static const zend_function_entry intlchar_methods[] = { #define IC_ME(mname) PHP_ME(IntlChar, mname, mname##_arginfo, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC) IC_ME(chr) IC_ME(ord) |