]> granicus.if.org Git - php/commitdiff
Update the date class arginfo the new format
authorCraig Duncan <php@duncanc.co.uk>
Mon, 12 Aug 2019 19:27:17 +0000 (20:27 +0100)
committerCraig Duncan <duncan3dc@php.net>
Mon, 12 Aug 2019 19:57:30 +0000 (20:57 +0100)
ext/date/php_date.c
ext/date/php_date_arginfo.h

index c3ffeba725a127c093f289df3d7a6cf8dd892405..c1bd72e97c61289a96be8b271dbccbdba772e2ea 100644 (file)
@@ -141,91 +141,91 @@ static const zend_function_entry date_functions[] = {
 };
 
 static const zend_function_entry date_funcs_interface[] = {
-       PHP_ABSTRACT_ME(DateTimeInterface, format, arginfo_DateTimeInterface_format)
-       PHP_ABSTRACT_ME(DateTimeInterface, getTimezone, arginfo_DateTimeInterface_getTimezone)
-       PHP_ABSTRACT_ME(DateTimeInterface, getOffset, arginfo_DateTimeInterface_getOffset)
-       PHP_ABSTRACT_ME(DateTimeInterface, getTimestamp, arginfo_DateTimeInterface_getTimestamp)
-       PHP_ABSTRACT_ME(DateTimeInterface, diff, arginfo_DateTimeInterface_diff)
-       PHP_ABSTRACT_ME(DateTimeInterface, __wakeup, arginfo_DateTimeInterface___wakeup)
+       PHP_ABSTRACT_ME(DateTimeInterface, format, arginfo_class_DateTimeInterface_format)
+       PHP_ABSTRACT_ME(DateTimeInterface, getTimezone, arginfo_class_DateTimeInterface_getTimezone)
+       PHP_ABSTRACT_ME(DateTimeInterface, getOffset, arginfo_class_DateTimeInterface_getOffset)
+       PHP_ABSTRACT_ME(DateTimeInterface, getTimestamp, arginfo_class_DateTimeInterface_getTimestamp)
+       PHP_ABSTRACT_ME(DateTimeInterface, diff, arginfo_class_DateTimeInterface_diff)
+       PHP_ABSTRACT_ME(DateTimeInterface, __wakeup, arginfo_class_DateTimeInterface___wakeup)
        PHP_FE_END
 };
 
 static const zend_function_entry date_funcs_date[] = {
-       PHP_ME(DateTime,                        __construct,            arginfo_DateTime___construct, ZEND_ACC_PUBLIC)
-       PHP_ME(DateTime,                        __wakeup,                       arginfo_DateTimeInterface___wakeup, ZEND_ACC_PUBLIC)
-       PHP_ME(DateTime,                        __set_state,            arginfo_DateTime___set_state, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
-       PHP_ME(DateTime,                        createFromImmutable,    arginfo_DateTime_createFromImmutable, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
-       PHP_ME_MAPPING(createFromFormat, date_create_from_format,       arginfo_DateTime_createFromFormat, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
-       PHP_ME_MAPPING(getLastErrors, date_get_last_errors,     arginfo_DateTime_getLastErrors, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
-       PHP_ME_MAPPING(format,          date_format,            arginfo_DateTimeInterface_format, 0)
-       PHP_ME_MAPPING(modify,          date_modify,            arginfo_DateTime_modify, 0)
-       PHP_ME_MAPPING(add,                     date_add,                       arginfo_DateTime_add, 0)
-       PHP_ME_MAPPING(sub,                     date_sub,                       arginfo_DateTime_sub, 0)
-       PHP_ME_MAPPING(getTimezone, date_timezone_get,  arginfo_DateTimeInterface_getTimezone, 0)
-       PHP_ME_MAPPING(setTimezone, date_timezone_set,  arginfo_DateTime_setTimezone, 0)
-       PHP_ME_MAPPING(getOffset,       date_offset_get,        arginfo_DateTimeInterface_getOffset, 0)
-       PHP_ME_MAPPING(setTime,         date_time_set,          arginfo_DateTime_setTime, 0)
-       PHP_ME_MAPPING(setDate,         date_date_set,          arginfo_DateTime_setDate, 0)
-       PHP_ME_MAPPING(setISODate,      date_isodate_set,       arginfo_DateTime_setISODate, 0)
-       PHP_ME_MAPPING(setTimestamp,    date_timestamp_set, arginfo_DateTime_setTimestamp, 0)
-       PHP_ME_MAPPING(getTimestamp,    date_timestamp_get, arginfo_DateTimeInterface_getTimestamp, 0)
-       PHP_ME_MAPPING(diff,                    date_diff, arginfo_DateTimeInterface_diff, 0)
+       PHP_ME(DateTime,                        __construct,            arginfo_class_DateTime___construct, ZEND_ACC_PUBLIC)
+       PHP_ME(DateTime,                        __wakeup,                       arginfo_class_DateTimeInterface___wakeup, ZEND_ACC_PUBLIC)
+       PHP_ME(DateTime,                        __set_state,            arginfo_class_DateTime___set_state, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
+       PHP_ME(DateTime,                        createFromImmutable,    arginfo_class_DateTime_createFromImmutable, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
+       PHP_ME_MAPPING(createFromFormat, date_create_from_format,       arginfo_class_DateTime_createFromFormat, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
+       PHP_ME_MAPPING(getLastErrors, date_get_last_errors,     arginfo_class_DateTime_getLastErrors, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
+       PHP_ME_MAPPING(format,          date_format,            arginfo_class_DateTimeInterface_format, 0)
+       PHP_ME_MAPPING(modify,          date_modify,            arginfo_class_DateTime_modify, 0)
+       PHP_ME_MAPPING(add,                     date_add,                       arginfo_class_DateTime_add, 0)
+       PHP_ME_MAPPING(sub,                     date_sub,                       arginfo_class_DateTime_sub, 0)
+       PHP_ME_MAPPING(getTimezone, date_timezone_get,  arginfo_class_DateTimeInterface_getTimezone, 0)
+       PHP_ME_MAPPING(setTimezone, date_timezone_set,  arginfo_class_DateTime_setTimezone, 0)
+       PHP_ME_MAPPING(getOffset,       date_offset_get,        arginfo_class_DateTimeInterface_getOffset, 0)
+       PHP_ME_MAPPING(setTime,         date_time_set,          arginfo_class_DateTime_setTime, 0)
+       PHP_ME_MAPPING(setDate,         date_date_set,          arginfo_class_DateTime_setDate, 0)
+       PHP_ME_MAPPING(setISODate,      date_isodate_set,       arginfo_class_DateTime_setISODate, 0)
+       PHP_ME_MAPPING(setTimestamp,    date_timestamp_set, arginfo_class_DateTime_setTimestamp, 0)
+       PHP_ME_MAPPING(getTimestamp,    date_timestamp_get, arginfo_class_DateTimeInterface_getTimestamp, 0)
+       PHP_ME_MAPPING(diff,                    date_diff, arginfo_class_DateTimeInterface_diff, 0)
        PHP_FE_END
 };
 
 static const zend_function_entry date_funcs_immutable[] = {
-       PHP_ME(DateTimeImmutable, __construct,   arginfo_DateTimeImmutable___construct, ZEND_ACC_PUBLIC)
-       PHP_ME(DateTime, __wakeup,       arginfo_DateTimeInterface___wakeup, ZEND_ACC_PUBLIC)
-       PHP_ME(DateTimeImmutable, __set_state,   arginfo_DateTimeImmutable___set_state, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
+       PHP_ME(DateTimeImmutable, __construct,   arginfo_class_DateTimeImmutable___construct, ZEND_ACC_PUBLIC)
+       PHP_ME(DateTime, __wakeup,       arginfo_class_DateTimeInterface___wakeup, ZEND_ACC_PUBLIC)
+       PHP_ME(DateTimeImmutable, __set_state,   arginfo_class_DateTimeImmutable___set_state, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
        PHP_ME_MAPPING(createFromFormat, date_create_immutable_from_format, arginfo_date_create_from_format, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
        PHP_ME_MAPPING(getLastErrors,    date_get_last_errors,    arginfo_date_get_last_errors, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
-       PHP_ME_MAPPING(format,           date_format,             arginfo_DateTimeInterface_format, 0)
-       PHP_ME_MAPPING(getTimezone, date_timezone_get,  arginfo_DateTimeInterface_getTimezone, 0)
-       PHP_ME_MAPPING(getOffset,       date_offset_get,        arginfo_DateTimeInterface_getOffset, 0)
-       PHP_ME_MAPPING(getTimestamp,    date_timestamp_get, arginfo_DateTimeInterface_getTimestamp, 0)
-       PHP_ME_MAPPING(diff,                    date_diff, arginfo_DateTimeInterface_diff, 0)
-       PHP_ME(DateTimeImmutable, modify,        arginfo_DateTimeImmutable_modify, 0)
-       PHP_ME(DateTimeImmutable, add,           arginfo_DateTimeImmutable_add, 0)
-       PHP_ME(DateTimeImmutable, sub,           arginfo_DateTimeImmutable_sub, 0)
-       PHP_ME(DateTimeImmutable, setTimezone,   arginfo_DateTimeImmutable_setTimezone, 0)
-       PHP_ME(DateTimeImmutable, setTime,       arginfo_DateTimeImmutable_setTime, 0)
-       PHP_ME(DateTimeImmutable, setDate,       arginfo_DateTimeImmutable_setDate, 0)
-       PHP_ME(DateTimeImmutable, setISODate,    arginfo_DateTimeImmutable_setISODate, 0)
-       PHP_ME(DateTimeImmutable, setTimestamp,  arginfo_DateTimeImmutable_setTimestamp, 0)
-       PHP_ME(DateTimeImmutable, createFromMutable, arginfo_DateTimeImmutable_createFromMutable, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
+       PHP_ME_MAPPING(format,           date_format,             arginfo_class_DateTimeInterface_format, 0)
+       PHP_ME_MAPPING(getTimezone, date_timezone_get,  arginfo_class_DateTimeInterface_getTimezone, 0)
+       PHP_ME_MAPPING(getOffset,       date_offset_get,        arginfo_class_DateTimeInterface_getOffset, 0)
+       PHP_ME_MAPPING(getTimestamp,    date_timestamp_get, arginfo_class_DateTimeInterface_getTimestamp, 0)
+       PHP_ME_MAPPING(diff,                    date_diff, arginfo_class_DateTimeInterface_diff, 0)
+       PHP_ME(DateTimeImmutable, modify,        arginfo_class_DateTimeImmutable_modify, 0)
+       PHP_ME(DateTimeImmutable, add,           arginfo_class_DateTimeImmutable_add, 0)
+       PHP_ME(DateTimeImmutable, sub,           arginfo_class_DateTimeImmutable_sub, 0)
+       PHP_ME(DateTimeImmutable, setTimezone,   arginfo_class_DateTimeImmutable_setTimezone, 0)
+       PHP_ME(DateTimeImmutable, setTime,       arginfo_class_DateTimeImmutable_setTime, 0)
+       PHP_ME(DateTimeImmutable, setDate,       arginfo_class_DateTimeImmutable_setDate, 0)
+       PHP_ME(DateTimeImmutable, setISODate,    arginfo_class_DateTimeImmutable_setISODate, 0)
+       PHP_ME(DateTimeImmutable, setTimestamp,  arginfo_class_DateTimeImmutable_setTimestamp, 0)
+       PHP_ME(DateTimeImmutable, createFromMutable, arginfo_class_DateTimeImmutable_createFromMutable, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
        PHP_FE_END
 };
 
 static const zend_function_entry date_funcs_timezone[] = {
-       PHP_ME(DateTimeZone,              __construct,                 arginfo_DateTimeZone___construct, ZEND_ACC_PUBLIC)
-       PHP_ME(DateTimeZone,              __wakeup,                    arginfo_DateTimeZone___wakeup, ZEND_ACC_PUBLIC)
-       PHP_ME(DateTimeZone,              __set_state,                 arginfo_DateTimeZone___set_state, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
-       PHP_ME_MAPPING(getName,           timezone_name_get,           arginfo_DateTimeZone_getName, 0)
-       PHP_ME_MAPPING(getOffset,         timezone_offset_get,         arginfo_DateTimeZone_getOffset, 0)
-       PHP_ME_MAPPING(getTransitions,    timezone_transitions_get,    arginfo_DateTimeZone_getTransitions, 0)
-       PHP_ME_MAPPING(getLocation,       timezone_location_get,       arginfo_DateTimeZone_getLocation, 0)
-       PHP_ME_MAPPING(listAbbreviations, timezone_abbreviations_list, arginfo_DateTimeZone_listAbbreviations, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
-       PHP_ME_MAPPING(listIdentifiers,   timezone_identifiers_list,   arginfo_DateTimeZone_listIdentifiers, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
+       PHP_ME(DateTimeZone,              __construct,                 arginfo_class_DateTimeZone___construct, ZEND_ACC_PUBLIC)
+       PHP_ME(DateTimeZone,              __wakeup,                    arginfo_class_DateTimeZone___wakeup, ZEND_ACC_PUBLIC)
+       PHP_ME(DateTimeZone,              __set_state,                 arginfo_class_DateTimeZone___set_state, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
+       PHP_ME_MAPPING(getName,           timezone_name_get,           arginfo_class_DateTimeZone_getName, 0)
+       PHP_ME_MAPPING(getOffset,         timezone_offset_get,         arginfo_class_DateTimeZone_getOffset, 0)
+       PHP_ME_MAPPING(getTransitions,    timezone_transitions_get,    arginfo_class_DateTimeZone_getTransitions, 0)
+       PHP_ME_MAPPING(getLocation,       timezone_location_get,       arginfo_class_DateTimeZone_getLocation, 0)
+       PHP_ME_MAPPING(listAbbreviations, timezone_abbreviations_list, arginfo_class_DateTimeZone_listAbbreviations, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
+       PHP_ME_MAPPING(listIdentifiers,   timezone_identifiers_list,   arginfo_class_DateTimeZone_listIdentifiers, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
        PHP_FE_END
 };
 
 static const zend_function_entry date_funcs_interval[] = {
-       PHP_ME(DateInterval,              __construct,                 arginfo_DateInterval___construct, ZEND_ACC_PUBLIC)
-       PHP_ME(DateInterval,              __wakeup,                    arginfo_DateInterval___wakeup, ZEND_ACC_PUBLIC)
-       PHP_ME(DateInterval,              __set_state,                 arginfo_DateInterval___set_state, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
-       PHP_ME_MAPPING(format,            date_interval_format,        arginfo_DateInterval_format, 0)
-       PHP_ME_MAPPING(createFromDateString, date_interval_create_from_date_string,     arginfo_DateInterval_createFromDateString, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
+       PHP_ME(DateInterval,              __construct,                 arginfo_class_DateInterval___construct, ZEND_ACC_PUBLIC)
+       PHP_ME(DateInterval,              __wakeup,                    arginfo_class_DateInterval___wakeup, ZEND_ACC_PUBLIC)
+       PHP_ME(DateInterval,              __set_state,                 arginfo_class_DateInterval___set_state, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
+       PHP_ME_MAPPING(format,            date_interval_format,        arginfo_class_DateInterval_format, 0)
+       PHP_ME_MAPPING(createFromDateString, date_interval_create_from_date_string,     arginfo_class_DateInterval_createFromDateString, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
        PHP_FE_END
 };
 
 static const zend_function_entry date_funcs_period[] = {
-       PHP_ME(DatePeriod,                __construct,                 arginfo_DatePeriod___construct, ZEND_ACC_PUBLIC)
-       PHP_ME(DatePeriod,                __wakeup,                    arginfo_DatePeriod___wakeup, ZEND_ACC_PUBLIC)
-       PHP_ME(DatePeriod,                __set_state,                 arginfo_DatePeriod___set_state, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
-       PHP_ME(DatePeriod,                getStartDate,                arginfo_DatePeriod_getStartDate, ZEND_ACC_PUBLIC)
-       PHP_ME(DatePeriod,                getEndDate,                  arginfo_DatePeriod_getEndDate, ZEND_ACC_PUBLIC)
-       PHP_ME(DatePeriod,                getDateInterval,             arginfo_DatePeriod_getDateInterval, ZEND_ACC_PUBLIC)
-       PHP_ME(DatePeriod,                getRecurrences,              arginfo_DatePeriod_getRecurrences, ZEND_ACC_PUBLIC)
+       PHP_ME(DatePeriod,                __construct,                 arginfo_class_DatePeriod___construct, ZEND_ACC_PUBLIC)
+       PHP_ME(DatePeriod,                __wakeup,                    arginfo_class_DatePeriod___wakeup, ZEND_ACC_PUBLIC)
+       PHP_ME(DatePeriod,                __set_state,                 arginfo_class_DatePeriod___set_state, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
+       PHP_ME(DatePeriod,                getStartDate,                arginfo_class_DatePeriod_getStartDate, ZEND_ACC_PUBLIC)
+       PHP_ME(DatePeriod,                getEndDate,                  arginfo_class_DatePeriod_getEndDate, ZEND_ACC_PUBLIC)
+       PHP_ME(DatePeriod,                getDateInterval,             arginfo_class_DatePeriod_getDateInterval, ZEND_ACC_PUBLIC)
+       PHP_ME(DatePeriod,                getRecurrences,              arginfo_class_DatePeriod_getRecurrences, ZEND_ACC_PUBLIC)
        PHP_FE_END
 };
 
index 867b058d37dc4c6e49bc4c25bd34dd8828354cdf..7f67d2e780a2abe492bf7f194df7957ebeffd888 100644 (file)
@@ -214,149 +214,149 @@ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_date_sun_info, 0, 3, IS_ARRAY, 0
        ZEND_ARG_TYPE_INFO(0, longitude, IS_DOUBLE, 0)
 ZEND_END_ARG_INFO()
 
-ZEND_BEGIN_ARG_INFO_EX(arginfo_DateTimeInterface_format, 0, 0, 1)
+ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DateTimeInterface_format, 0, 0, 1)
        ZEND_ARG_TYPE_INFO(0, format, IS_STRING, 0)
 ZEND_END_ARG_INFO()
 
-#define arginfo_DateTimeInterface_getTimezone arginfo_date_get_last_errors
+#define arginfo_class_DateTimeInterface_getTimezone arginfo_date_get_last_errors
 
-#define arginfo_DateTimeInterface_getOffset arginfo_date_get_last_errors
+#define arginfo_class_DateTimeInterface_getOffset arginfo_date_get_last_errors
 
-#define arginfo_DateTimeInterface_getTimestamp arginfo_date_get_last_errors
+#define arginfo_class_DateTimeInterface_getTimestamp arginfo_date_get_last_errors
 
-ZEND_BEGIN_ARG_INFO_EX(arginfo_DateTimeInterface_diff, 0, 0, 1)
+ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DateTimeInterface_diff, 0, 0, 1)
        ZEND_ARG_OBJ_INFO(0, object, DateTimeInterface, 0)
        ZEND_ARG_TYPE_INFO(0, absolute, _IS_BOOL, 0)
 ZEND_END_ARG_INFO()
 
-#define arginfo_DateTimeInterface___wakeup arginfo_date_get_last_errors
+#define arginfo_class_DateTimeInterface___wakeup arginfo_date_get_last_errors
 
-#define arginfo_DateTime___construct arginfo_date_create
+#define arginfo_class_DateTime___construct arginfo_date_create
 
-ZEND_BEGIN_ARG_INFO_EX(arginfo_DateTime___set_state, 0, 0, 1)
+ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DateTime___set_state, 0, 0, 1)
        ZEND_ARG_TYPE_INFO(0, array, IS_ARRAY, 0)
 ZEND_END_ARG_INFO()
 
-ZEND_BEGIN_ARG_INFO_EX(arginfo_DateTime_createFromImmutable, 0, 0, 1)
+ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DateTime_createFromImmutable, 0, 0, 1)
        ZEND_ARG_OBJ_INFO(0, object, DateTimeImmutable, 0)
 ZEND_END_ARG_INFO()
 
-#define arginfo_DateTime_createFromFormat arginfo_date_create_from_format
+#define arginfo_class_DateTime_createFromFormat arginfo_date_create_from_format
 
-#define arginfo_DateTime_getLastErrors arginfo_date_get_last_errors
+#define arginfo_class_DateTime_getLastErrors arginfo_date_get_last_errors
 
-ZEND_BEGIN_ARG_INFO_EX(arginfo_DateTime_modify, 0, 0, 1)
+ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DateTime_modify, 0, 0, 1)
        ZEND_ARG_TYPE_INFO(0, modify, IS_STRING, 0)
 ZEND_END_ARG_INFO()
 
-ZEND_BEGIN_ARG_INFO_EX(arginfo_DateTime_add, 0, 0, 1)
+ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DateTime_add, 0, 0, 1)
        ZEND_ARG_OBJ_INFO(0, interval, DateInterval, 0)
 ZEND_END_ARG_INFO()
 
-#define arginfo_DateTime_sub arginfo_DateTime_add
+#define arginfo_class_DateTime_sub arginfo_class_DateTime_add
 
-ZEND_BEGIN_ARG_INFO_EX(arginfo_DateTime_setTimezone, 0, 0, 1)
+ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DateTime_setTimezone, 0, 0, 1)
        ZEND_ARG_OBJ_INFO(0, timezone, DateTimeZone, 0)
 ZEND_END_ARG_INFO()
 
-ZEND_BEGIN_ARG_INFO_EX(arginfo_DateTime_setTime, 0, 0, 2)
+ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DateTime_setTime, 0, 0, 2)
        ZEND_ARG_TYPE_INFO(0, hour, IS_LONG, 0)
        ZEND_ARG_TYPE_INFO(0, minute, IS_LONG, 0)
        ZEND_ARG_TYPE_INFO(0, second, IS_LONG, 0)
        ZEND_ARG_TYPE_INFO(0, microseconds, IS_LONG, 0)
 ZEND_END_ARG_INFO()
 
-ZEND_BEGIN_ARG_INFO_EX(arginfo_DateTime_setDate, 0, 0, 3)
+ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DateTime_setDate, 0, 0, 3)
        ZEND_ARG_TYPE_INFO(0, year, IS_LONG, 0)
        ZEND_ARG_TYPE_INFO(0, month, IS_LONG, 0)
        ZEND_ARG_TYPE_INFO(0, day, IS_LONG, 0)
 ZEND_END_ARG_INFO()
 
-ZEND_BEGIN_ARG_INFO_EX(arginfo_DateTime_setISODate, 0, 0, 2)
+ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DateTime_setISODate, 0, 0, 2)
        ZEND_ARG_TYPE_INFO(0, year, IS_LONG, 0)
        ZEND_ARG_TYPE_INFO(0, week, IS_LONG, 0)
        ZEND_ARG_TYPE_INFO(0, day, IS_LONG, 0)
 ZEND_END_ARG_INFO()
 
-ZEND_BEGIN_ARG_INFO_EX(arginfo_DateTime_setTimestamp, 0, 0, 1)
+ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DateTime_setTimestamp, 0, 0, 1)
        ZEND_ARG_TYPE_INFO(0, timestampt, IS_LONG, 0)
 ZEND_END_ARG_INFO()
 
-#define arginfo_DateTimeImmutable___construct arginfo_date_create
+#define arginfo_class_DateTimeImmutable___construct arginfo_date_create
 
-#define arginfo_DateTimeImmutable___set_state arginfo_DateTime___set_state
+#define arginfo_class_DateTimeImmutable___set_state arginfo_class_DateTime___set_state
 
-ZEND_BEGIN_ARG_INFO_EX(arginfo_DateTimeImmutable_createFromMutable, 0, 0, 1)
+ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DateTimeImmutable_createFromMutable, 0, 0, 1)
        ZEND_ARG_OBJ_INFO(0, object, DateTime, 0)
 ZEND_END_ARG_INFO()
 
-#define arginfo_DateTimeImmutable_modify arginfo_DateTime_modify
+#define arginfo_class_DateTimeImmutable_modify arginfo_class_DateTime_modify
 
-#define arginfo_DateTimeImmutable_add arginfo_DateTime_add
+#define arginfo_class_DateTimeImmutable_add arginfo_class_DateTime_add
 
-#define arginfo_DateTimeImmutable_sub arginfo_DateTime_add
+#define arginfo_class_DateTimeImmutable_sub arginfo_class_DateTime_add
 
-#define arginfo_DateTimeImmutable_setTimezone arginfo_DateTime_setTimezone
+#define arginfo_class_DateTimeImmutable_setTimezone arginfo_class_DateTime_setTimezone
 
-#define arginfo_DateTimeImmutable_setTime arginfo_DateTime_setTime
+#define arginfo_class_DateTimeImmutable_setTime arginfo_class_DateTime_setTime
 
-#define arginfo_DateTimeImmutable_setDate arginfo_DateTime_setDate
+#define arginfo_class_DateTimeImmutable_setDate arginfo_class_DateTime_setDate
 
-#define arginfo_DateTimeImmutable_setISODate arginfo_DateTime_setISODate
+#define arginfo_class_DateTimeImmutable_setISODate arginfo_class_DateTime_setISODate
 
-ZEND_BEGIN_ARG_INFO_EX(arginfo_DateTimeImmutable_setTimestamp, 0, 0, 1)
+ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DateTimeImmutable_setTimestamp, 0, 0, 1)
        ZEND_ARG_TYPE_INFO(0, timestamp, IS_LONG, 0)
 ZEND_END_ARG_INFO()
 
-#define arginfo_DateTimeZone___construct arginfo_timezone_open
+#define arginfo_class_DateTimeZone___construct arginfo_timezone_open
 
-#define arginfo_DateTimeZone_getName arginfo_date_get_last_errors
+#define arginfo_class_DateTimeZone_getName arginfo_date_get_last_errors
 
-ZEND_BEGIN_ARG_INFO_EX(arginfo_DateTimeZone_getOffset, 0, 0, 1)
+ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DateTimeZone_getOffset, 0, 0, 1)
        ZEND_ARG_OBJ_INFO(0, datetime, DateTimeInterface, 0)
 ZEND_END_ARG_INFO()
 
-ZEND_BEGIN_ARG_INFO_EX(arginfo_DateTimeZone_getTransitions, 0, 0, 0)
+ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DateTimeZone_getTransitions, 0, 0, 0)
        ZEND_ARG_TYPE_INFO(0, timestamp_begin, IS_LONG, 0)
        ZEND_ARG_TYPE_INFO(0, timestamp_end, IS_LONG, 0)
 ZEND_END_ARG_INFO()
 
-#define arginfo_DateTimeZone_getLocation arginfo_date_get_last_errors
+#define arginfo_class_DateTimeZone_getLocation arginfo_date_get_last_errors
 
-#define arginfo_DateTimeZone_listAbbreviations arginfo_date_get_last_errors
+#define arginfo_class_DateTimeZone_listAbbreviations arginfo_date_get_last_errors
 
-#define arginfo_DateTimeZone_listIdentifiers arginfo_timezone_identifiers_list
+#define arginfo_class_DateTimeZone_listIdentifiers arginfo_timezone_identifiers_list
 
-#define arginfo_DateTimeZone___wakeup arginfo_date_get_last_errors
+#define arginfo_class_DateTimeZone___wakeup arginfo_date_get_last_errors
 
-#define arginfo_DateTimeZone___set_state arginfo_DateTime___set_state
+#define arginfo_class_DateTimeZone___set_state arginfo_class_DateTime___set_state
 
-ZEND_BEGIN_ARG_INFO_EX(arginfo_DateInterval___construct, 0, 0, 1)
+ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DateInterval___construct, 0, 0, 1)
        ZEND_ARG_TYPE_INFO(0, interval_spec, IS_STRING, 0)
 ZEND_END_ARG_INFO()
 
-#define arginfo_DateInterval_createFromDateString arginfo_date_interval_create_from_date_string
+#define arginfo_class_DateInterval_createFromDateString arginfo_date_interval_create_from_date_string
 
-#define arginfo_DateInterval_format arginfo_DateTimeInterface_format
+#define arginfo_class_DateInterval_format arginfo_class_DateTimeInterface_format
 
-#define arginfo_DateInterval___wakeup arginfo_date_get_last_errors
+#define arginfo_class_DateInterval___wakeup arginfo_date_get_last_errors
 
-#define arginfo_DateInterval___set_state arginfo_DateTime___set_state
+#define arginfo_class_DateInterval___set_state arginfo_class_DateTime___set_state
 
-ZEND_BEGIN_ARG_INFO_EX(arginfo_DatePeriod___construct, 0, 0, 1)
+ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DatePeriod___construct, 0, 0, 1)
        ZEND_ARG_INFO(0, start)
        ZEND_ARG_INFO(0, interval)
        ZEND_ARG_INFO(0, end)
 ZEND_END_ARG_INFO()
 
-#define arginfo_DatePeriod_getStartDate arginfo_date_get_last_errors
+#define arginfo_class_DatePeriod_getStartDate arginfo_date_get_last_errors
 
-#define arginfo_DatePeriod_getEndDate arginfo_date_get_last_errors
+#define arginfo_class_DatePeriod_getEndDate arginfo_date_get_last_errors
 
-#define arginfo_DatePeriod_getDateInterval arginfo_date_get_last_errors
+#define arginfo_class_DatePeriod_getDateInterval arginfo_date_get_last_errors
 
-#define arginfo_DatePeriod_getRecurrences arginfo_date_get_last_errors
+#define arginfo_class_DatePeriod_getRecurrences arginfo_date_get_last_errors
 
-#define arginfo_DatePeriod___wakeup arginfo_date_get_last_errors
+#define arginfo_class_DatePeriod___wakeup arginfo_date_get_last_errors
 
-#define arginfo_DatePeriod___set_state arginfo_DateTime___set_state
+#define arginfo_class_DatePeriod___set_state arginfo_class_DateTime___set_state