Skip to content

Commit 23e4385

Browse files
committed
- Make usage of new PHP_FE_END macro
1 parent 054e1ca commit 23e4385

File tree

111 files changed

+170
-172
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

111 files changed

+170
-172
lines changed

ext/bcmath/bcmath.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ const zend_function_entry bcmath_functions[] = {
106106
PHP_FE(bcscale, arginfo_bcscale)
107107
PHP_FE(bccomp, arginfo_bccomp)
108108
PHP_FE(bcpowmod, arginfo_bcpowmod)
109-
{NULL, NULL, NULL}
109+
PHP_FE_END
110110
};
111111

112112
zend_module_entry bcmath_module_entry = {

ext/bz2/bz2.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ static const zend_function_entry bz2_functions[] = {
107107
PHP_FE(bzerror, arginfo_bzerror)
108108
PHP_FE(bzcompress, arginfo_bzcompress)
109109
PHP_FE(bzdecompress, arginfo_bzdecompress)
110-
{NULL, NULL, NULL}
110+
PHP_FE_END
111111
};
112112

113113
zend_module_entry bz2_module_entry = {

ext/calendar/calendar.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ const zend_function_entry calendar_functions[] = {
148148
PHP_FE(cal_from_jd, arginfo_cal_from_jd)
149149
PHP_FE(cal_days_in_month, arginfo_cal_days_in_month)
150150
PHP_FE(cal_info, arginfo_cal_info)
151-
{NULL, NULL, NULL}
151+
PHP_FE_END
152152
};
153153

154154

ext/com_dotnet/com_extension.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ const zend_function_entry com_dotnet_functions[] = {
228228
PHP_FE(com_message_pump, arginfo_com_message_pump)
229229
PHP_FE(com_load_typelib, arginfo_com_load_typelib)
230230
PHP_FE(com_get_active_object, arginfo_com_get_active_object)
231-
{ NULL, NULL, NULL }
231+
PHP_FE_END
232232
};
233233

234234
/* {{{ com_dotnet_module_entry

ext/com_dotnet/com_persist.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -697,7 +697,7 @@ static const zend_function_entry com_persist_helper_methods[] = {
697697
CPH_ME(InitNew, NULL)
698698
CPH_ME(LoadFromStream, NULL)
699699
CPH_ME(SaveToStream, NULL)
700-
{NULL, NULL, NULL}
700+
PHP_FE_END
701701
};
702702

703703
static void helper_free_storage(void *obj TSRMLS_DC)

ext/ctype/ctype.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ static const zend_function_entry ctype_functions[] = {
106106
PHP_FE(ctype_space, arginfo_ctype_space)
107107
PHP_FE(ctype_upper, arginfo_ctype_upper)
108108
PHP_FE(ctype_xdigit, arginfo_ctype_xdigit)
109-
{NULL, NULL, NULL} /* Must be the last line in ctype_functions[] */
109+
PHP_FE_END
110110
};
111111
/* }}} */
112112

ext/curl/interface.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ const zend_function_entry curl_functions[] = {
307307
PHP_FE(curl_multi_getcontent, arginfo_curl_multi_getcontent)
308308
PHP_FE(curl_multi_info_read, arginfo_curl_multi_info_read)
309309
PHP_FE(curl_multi_close, arginfo_curl_multi_close)
310-
{NULL, NULL, NULL}
310+
PHP_FE_END
311311
};
312312
/* }}} */
313313

ext/date/php_date.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ const zend_function_entry date_functions[] = {
425425
PHP_FE(date_sunrise, arginfo_date_sunrise)
426426
PHP_FE(date_sunset, arginfo_date_sunset)
427427
PHP_FE(date_sun_info, arginfo_date_sun_info)
428-
{NULL, NULL, NULL}
428+
PHP_FE_END
429429
};
430430

431431
const zend_function_entry date_funcs_date[] = {
@@ -447,7 +447,7 @@ const zend_function_entry date_funcs_date[] = {
447447
PHP_ME_MAPPING(setTimestamp, date_timestamp_set, arginfo_date_method_timestamp_set, 0)
448448
PHP_ME_MAPPING(getTimestamp, date_timestamp_get, arginfo_date_method_timestamp_get, 0)
449449
PHP_ME_MAPPING(diff, date_diff, arginfo_date_method_diff, 0)
450-
{NULL, NULL, NULL}
450+
PHP_FE_END
451451
};
452452

453453
const zend_function_entry date_funcs_timezone[] = {
@@ -458,19 +458,19 @@ const zend_function_entry date_funcs_timezone[] = {
458458
PHP_ME_MAPPING(getLocation, timezone_location_get, arginfo_timezone_method_location_get, 0)
459459
PHP_ME_MAPPING(listAbbreviations, timezone_abbreviations_list, arginfo_timezone_abbreviations_list, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
460460
PHP_ME_MAPPING(listIdentifiers, timezone_identifiers_list, arginfo_timezone_identifiers_list, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
461-
{NULL, NULL, NULL}
461+
PHP_FE_END
462462
};
463463

464464
const zend_function_entry date_funcs_interval[] = {
465465
PHP_ME(DateInterval, __construct, arginfo_date_interval_construct, ZEND_ACC_CTOR|ZEND_ACC_PUBLIC)
466466
PHP_ME_MAPPING(format, date_interval_format, arginfo_date_method_interval_format, 0)
467467
PHP_ME_MAPPING(createFromDateString, date_interval_create_from_date_string, arginfo_date_interval_create_from_date_string, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
468-
{NULL, NULL, NULL}
468+
PHP_FE_END
469469
};
470470

471471
const zend_function_entry date_funcs_period[] = {
472472
PHP_ME(DatePeriod, __construct, arginfo_date_period_construct, ZEND_ACC_CTOR|ZEND_ACC_PUBLIC)
473-
{NULL, NULL, NULL}
473+
PHP_FE_END
474474
};
475475

476476
static char* guess_timezone(const timelib_tzdb *tzdb TSRMLS_DC);

ext/dba/dba.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ const zend_function_entry dba_functions[] = {
145145
PHP_FE(dba_handlers, arginfo_dba_handlers)
146146
PHP_FE(dba_list, arginfo_dba_list)
147147
PHP_FE(dba_key_split, arginfo_dba_key_split)
148-
{NULL, NULL, NULL}
148+
PHP_FE_END
149149
};
150150
/* }}} */
151151

ext/dom/attr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ ZEND_END_ARG_INFO();
4949
const zend_function_entry php_dom_attr_class_functions[] = {
5050
PHP_FALIAS(isId, dom_attr_is_id, arginfo_dom_attr_is_id)
5151
PHP_ME(domattr, __construct, arginfo_dom_attr_construct, ZEND_ACC_PUBLIC)
52-
{NULL, NULL, NULL}
52+
PHP_FE_END
5353
};
5454

5555
/* {{{ proto void DOMAttr::__construct(string name, [string value]); */

0 commit comments

Comments
 (0)