]> granicus.if.org Git - php/commitdiff
- Added missing PHP_FE_END/ZEND_FE_END
authorFelipe Pena <felipe@php.net>
Sat, 6 Aug 2011 01:22:27 +0000 (01:22 +0000)
committerFelipe Pena <felipe@php.net>
Sat, 6 Aug 2011 01:22:27 +0000 (01:22 +0000)
14 files changed:
Zend/zend_API.c
ext/intl/collator/collator_class.c
ext/intl/dateformat/dateformat_class.c
ext/intl/formatter/formatter_class.c
ext/intl/locale/locale_class.c
ext/intl/msgformat/msgformat_class.c
ext/intl/normalizer/normalizer_class.c
ext/intl/resourcebundle/resourcebundle_class.c
ext/intl/spoofchecker/spoofchecker_class.c
ext/intl/transliterator/transliterator_class.c
ext/json/json.c
ext/standard/user_filters.c
sapi/apache_hooks/php_apache.c
sapi/milter/php_milter.c

index fa9d8a0686481abb9e37b645ffce15e5a116dd98..fb49767e03d8d363048042d31556e593f659a97b 100644 (file)
@@ -2505,7 +2505,7 @@ ZEND_API ZEND_FUNCTION(display_disabled_function)
 
 static zend_function_entry disabled_function[] = {
        ZEND_FE(display_disabled_function,                      NULL)
-       { NULL, NULL, NULL }
+       ZEND_FE_END
 };
 
 ZEND_API int zend_disable_function(char *function_name, uint function_name_length TSRMLS_DC) /* {{{ */
@@ -2529,7 +2529,7 @@ static zend_object_value display_disabled_class(zend_class_entry *class_type TSR
 /* }}} */
 
 static const zend_function_entry disabled_class_new[] = {
-       { NULL, NULL, NULL }
+       ZEND_FE_END
 };
 
 ZEND_API int zend_disable_class(char *class_name, uint class_name_length TSRMLS_DC) /* {{{ */
index 4f11aff86f93e9c06c10631c899a52285b20b5ee..de744dcefeccdf236d8f6ce9e883cc77ae0823cb 100755 (executable)
@@ -127,7 +127,7 @@ zend_function_entry Collator_class_functions[] = {
        PHP_NAMED_FE( getErrorCode, ZEND_FN( collator_get_error_code ), collator_0_args )
        PHP_NAMED_FE( getErrorMessage, ZEND_FN( collator_get_error_message ), collator_0_args )
        PHP_NAMED_FE( getSortKey, ZEND_FN( collator_get_sort_key ), collator_2_args )
-       { NULL, NULL, NULL }
+       PHP_FE_END
 };
 /* }}} */
 
index 674e219d0bbd67b531a547b18a12a9e2e0a6686d..c66610f23b98217b1167b5181f429e51308e4eb0 100755 (executable)
@@ -170,7 +170,7 @@ static zend_function_entry IntlDateFormatter_class_functions[] = {
        PHP_NAMED_FE( localtime, ZEND_FN( datefmt_localtime ), datefmt_parse_args )
        PHP_NAMED_FE( getErrorCode, ZEND_FN( datefmt_get_error_code ), arginfo_intldateformatter_getdatetype )
        PHP_NAMED_FE( getErrorMessage, ZEND_FN( datefmt_get_error_message ), arginfo_intldateformatter_getdatetype )
-       { NULL, NULL, NULL }
+       PHP_FE_END
 };
 /* }}} */
 
index 54410332554f004738cbd0bbc30008012118318f..8fcda643bf5c168545ffd5de772570abb6da6c56 100755 (executable)
@@ -179,7 +179,7 @@ static zend_function_entry NumberFormatter_class_functions[] = {
        PHP_NAMED_FE( getLocale, ZEND_FN( numfmt_get_locale ), arginfo_numberformatter_getlocale )
        PHP_NAMED_FE( getErrorCode, ZEND_FN( numfmt_get_error_code ), arginfo_numberformatter_getpattern )
        PHP_NAMED_FE( getErrorMessage, ZEND_FN( numfmt_get_error_message ), arginfo_numberformatter_getpattern )
-       { NULL, NULL, NULL }
+       PHP_FE_END
 };
 /* }}} */
 
index bba6449ac73fd67275d5e1cb14748830a3ab0681..432cfb28fce25ef8e8ed5c6b9ab63deacbb5e021 100755 (executable)
@@ -85,7 +85,7 @@ zend_function_entry Locale_class_functions[] = {
        ZEND_FENTRY( lookup, ZEND_FN( locale_lookup ), locale_4_args, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC )
        ZEND_FENTRY( canonicalize, ZEND_FN( locale_canonicalize ), locale_1_arg , ZEND_ACC_PUBLIC|ZEND_ACC_STATIC )
        ZEND_FENTRY( acceptFromHttp, ZEND_FN( locale_accept_from_http ), locale_1_arg , ZEND_ACC_PUBLIC|ZEND_ACC_STATIC )
-       { NULL, NULL, NULL }
+       PHP_FE_END
 };
 /* }}} */
 
index 59e222a4fc2fa789419ba3cba65ebc21694d853a..d0138854eb085bd6ff4574f482003fc2b78337f1 100755 (executable)
@@ -144,7 +144,7 @@ static zend_function_entry MessageFormatter_class_functions[] = {
        PHP_NAMED_FE( getLocale, ZEND_FN( msgfmt_get_locale ), arginfo_messageformatter_geterrormessage )
        PHP_NAMED_FE( getErrorCode, ZEND_FN( msgfmt_get_error_code ), arginfo_messageformatter_geterrormessage )
        PHP_NAMED_FE( getErrorMessage, ZEND_FN( msgfmt_get_error_message ), arginfo_messageformatter_geterrormessage )
-       { NULL, NULL, NULL }
+       PHP_FE_END
 };
 /* }}} */
 
index 736f7ecbf4a20a1708dee77d47a6678ab4b73bfb..154d877e3f59748eb0b2743d3a248876d14b8df7 100755 (executable)
@@ -44,7 +44,7 @@ ZEND_END_ARG_INFO()
 zend_function_entry Normalizer_class_functions[] = {
        ZEND_FENTRY( normalize, ZEND_FN( normalizer_normalize ), normalizer_3_args, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC )
        ZEND_FENTRY( isNormalized, ZEND_FN( normalizer_is_normalized ), normalizer_3_args, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC )
-       { NULL, NULL, NULL }
+       PHP_FE_END
 };
 /* }}} */
 
index 5d925ae6bf37f0a65325ac5adecdbad5a1cb07e8..5471e5b3f6a41b3a62c8237500a2ece1db5faefa 100644 (file)
@@ -399,7 +399,7 @@ static zend_function_entry ResourceBundle_class_functions[] = {
        ZEND_NAMED_ME( getLocales, ZEND_FN(resourcebundle_locales), arginfo_resourcebundle_getlocales, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC )
        ZEND_NAMED_ME( getErrorCode, ZEND_FN(resourcebundle_get_error_code), arginfo_resourcebundle_get_error_code, ZEND_ACC_PUBLIC )
        ZEND_NAMED_ME( getErrorMessage, ZEND_FN(resourcebundle_get_error_message), arginfo_resourcebundle_get_error_message, ZEND_ACC_PUBLIC )
-       { NULL, NULL, NULL }
+       PHP_FE_END
 };
 /* }}} */
 
index 3f00cdf15fe9d32e722d45117e494b2f5b3df6c1..6c19fbb0f65e5e003207191478a39135a72dde92 100755 (executable)
@@ -113,7 +113,7 @@ zend_function_entry Spoofchecker_class_functions[] = {
        PHP_ME(Spoofchecker, areConfusable, spoofchecker_are_confusable, ZEND_ACC_PUBLIC)
        PHP_ME(Spoofchecker, setAllowedLocales, spoofchecker_set_allowed_locales, ZEND_ACC_PUBLIC)
        PHP_ME(Spoofchecker, setChecks, spoofchecker_set_checks, ZEND_ACC_PUBLIC)
-       { NULL, NULL, NULL }
+       PHP_FE_END
 };
 /* }}} */
 
index 727cf1e4851afc151a00e649e388ed4db81f0a1d..8d4d0649e97e53b0c8a87e30be94a625f3733f43 100644 (file)
@@ -386,7 +386,7 @@ zend_function_entry Transliterator_class_functions[] = {
        PHP_ME_MAPPING( transliterate,  transliterator_transliterate,           ainfo_trans_me_transliterate,   ZEND_ACC_PUBLIC )
        PHP_ME_MAPPING( getErrorCode,   transliterator_get_error_code,          ainfo_trans_void,                               ZEND_ACC_PUBLIC )
        PHP_ME_MAPPING( getErrorMessage,transliterator_get_error_message,       ainfo_trans_void,                               ZEND_ACC_PUBLIC )
-       { NULL, NULL, NULL }
+       PHP_FE_END
 };
 /* }}} */
 
index fd8af799c80cd7f988de4c7aa14ec5602d880b9c..39e3d4d7c98f302f6a26dbf1385aa12563f9bf29 100644 (file)
@@ -75,7 +75,7 @@ ZEND_END_ARG_INFO();
 
 static const zend_function_entry json_serializable_interface[] = {
        PHP_ABSTRACT_ME(JsonSerializable, jsonSerialize, json_serialize_arginfo)
-       { NULL, NULL, NULL }
+       PHP_FE_END
 };
 /* }}} */
 
index 0050cb35eb4ef0c66a12ae67f21195d745e61d56..752c52af8347cd0d8ff50adb6d1c796e0d38c018 100644 (file)
@@ -71,7 +71,7 @@ static const zend_function_entry user_filter_class_funcs[] = {
        PHP_NAMED_FE(filter,    PHP_FN(user_filter_nop),                arginfo_php_user_filter_filter)
        PHP_NAMED_FE(onCreate,  PHP_FN(user_filter_nop),                arginfo_php_user_filter_onCreate)
        PHP_NAMED_FE(onClose,   PHP_FN(user_filter_nop),                arginfo_php_user_filter_onClose)
-       { NULL, NULL, NULL }
+       PHP_FE_END
 };
 
 static zend_class_entry user_filter_class_entry;
index 319979e7a2ef8a21bb1a2d5b2b734fd7526b2734..0c4e99303a6bc0bf8e3b62919e3124a6be83ba7c 100644 (file)
@@ -1384,7 +1384,7 @@ const static zend_function_entry php_apache_request_class_functions[] = {
     PHP_FALIAS(method_uri,                  apache_request_sub_req_method_uri,      NULL)
     PHP_FALIAS(run,                         apache_request_run,                     NULL)
     PHP_FALIAS(internal_redirect,           apache_request_internal_redirect,       NULL)
-       { NULL, NULL, NULL }
+       PHP_FE_END
 };
 /* }}} */
 
index 0ea2bd7e7d39c89ff9574f17a1eb0bafe394d012..4161447733d1c5402e7d6297768e5631edae1fc6 100644 (file)
@@ -833,7 +833,7 @@ const static zend_function_entry milter_functions[] = {
        PHP_FE(smfi_addrcpt,            arginfo_smfi_addrcpt)
        PHP_FE(smfi_delrcpt,            arginfo_smfi_delrcpt)
        PHP_FE(smfi_replacebody,        arginfo_smfi_replacebody)
-       { NULL, NULL, NULL }
+       PHP_FE_END
 };
 /* }}} */