xref: /PHP-8.0/ext/date/php_date_arginfo.h (revision c31f9f7e)
1 /* This is a generated file, edit the .stub.php file instead.
2  * Stub hash: 880a93d8a3461635447318317869fa7d3d7762dd */
3 
4 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_strtotime, 0, 1, MAY_BE_LONG|MAY_BE_FALSE)
5 	ZEND_ARG_TYPE_INFO(0, datetime, IS_STRING, 0)
6 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, baseTimestamp, IS_LONG, 1, "null")
7 ZEND_END_ARG_INFO()
8 
9 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_date, 0, 1, IS_STRING, 0)
10 	ZEND_ARG_TYPE_INFO(0, format, IS_STRING, 0)
11 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, timestamp, IS_LONG, 1, "null")
12 ZEND_END_ARG_INFO()
13 
14 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_idate, 0, 1, MAY_BE_LONG|MAY_BE_FALSE)
15 	ZEND_ARG_TYPE_INFO(0, format, IS_STRING, 0)
16 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, timestamp, IS_LONG, 1, "null")
17 ZEND_END_ARG_INFO()
18 
19 #define arginfo_gmdate arginfo_date
20 
21 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_mktime, 0, 1, MAY_BE_LONG|MAY_BE_FALSE)
22 	ZEND_ARG_TYPE_INFO(0, hour, IS_LONG, 0)
23 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, minute, IS_LONG, 1, "null")
24 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, second, IS_LONG, 1, "null")
25 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, month, IS_LONG, 1, "null")
26 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, day, IS_LONG, 1, "null")
27 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, year, IS_LONG, 1, "null")
28 ZEND_END_ARG_INFO()
29 
30 #define arginfo_gmmktime arginfo_mktime
31 
32 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_checkdate, 0, 3, _IS_BOOL, 0)
33 	ZEND_ARG_TYPE_INFO(0, month, IS_LONG, 0)
34 	ZEND_ARG_TYPE_INFO(0, day, IS_LONG, 0)
35 	ZEND_ARG_TYPE_INFO(0, year, IS_LONG, 0)
36 ZEND_END_ARG_INFO()
37 
38 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_strftime, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)
39 	ZEND_ARG_TYPE_INFO(0, format, IS_STRING, 0)
40 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, timestamp, IS_LONG, 1, "null")
41 ZEND_END_ARG_INFO()
42 
43 #define arginfo_gmstrftime arginfo_strftime
44 
45 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_time, 0, 0, IS_LONG, 0)
46 ZEND_END_ARG_INFO()
47 
48 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_localtime, 0, 0, IS_ARRAY, 0)
49 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, timestamp, IS_LONG, 1, "null")
50 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, associative, _IS_BOOL, 0, "false")
51 ZEND_END_ARG_INFO()
52 
53 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_getdate, 0, 0, IS_ARRAY, 0)
54 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, timestamp, IS_LONG, 1, "null")
55 ZEND_END_ARG_INFO()
56 
57 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_date_create, 0, 0, DateTime, MAY_BE_FALSE)
58 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, datetime, IS_STRING, 0, "\"now\"")
59 	ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, timezone, DateTimeZone, 1, "null")
60 ZEND_END_ARG_INFO()
61 
62 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_date_create_immutable, 0, 0, DateTimeImmutable, MAY_BE_FALSE)
63 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, datetime, IS_STRING, 0, "\"now\"")
64 	ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, timezone, DateTimeZone, 1, "null")
65 ZEND_END_ARG_INFO()
66 
67 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_date_create_from_format, 0, 2, DateTime, MAY_BE_FALSE)
68 	ZEND_ARG_TYPE_INFO(0, format, IS_STRING, 0)
69 	ZEND_ARG_TYPE_INFO(0, datetime, IS_STRING, 0)
70 	ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, timezone, DateTimeZone, 1, "null")
71 ZEND_END_ARG_INFO()
72 
73 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_date_create_immutable_from_format, 0, 2, DateTimeImmutable, MAY_BE_FALSE)
74 	ZEND_ARG_TYPE_INFO(0, format, IS_STRING, 0)
75 	ZEND_ARG_TYPE_INFO(0, datetime, IS_STRING, 0)
76 	ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, timezone, DateTimeZone, 1, "null")
77 ZEND_END_ARG_INFO()
78 
79 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_date_parse, 0, 1, IS_ARRAY, 0)
80 	ZEND_ARG_TYPE_INFO(0, datetime, IS_STRING, 0)
81 ZEND_END_ARG_INFO()
82 
83 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_date_parse_from_format, 0, 2, IS_ARRAY, 0)
84 	ZEND_ARG_TYPE_INFO(0, format, IS_STRING, 0)
85 	ZEND_ARG_TYPE_INFO(0, datetime, IS_STRING, 0)
86 ZEND_END_ARG_INFO()
87 
88 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_date_get_last_errors, 0, 0, MAY_BE_ARRAY|MAY_BE_FALSE)
89 ZEND_END_ARG_INFO()
90 
91 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_date_format, 0, 2, IS_STRING, 0)
92 	ZEND_ARG_OBJ_INFO(0, object, DateTimeInterface, 0)
93 	ZEND_ARG_TYPE_INFO(0, format, IS_STRING, 0)
94 ZEND_END_ARG_INFO()
95 
96 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_date_modify, 0, 2, DateTime, MAY_BE_FALSE)
97 	ZEND_ARG_OBJ_INFO(0, object, DateTime, 0)
98 	ZEND_ARG_TYPE_INFO(0, modifier, IS_STRING, 0)
99 ZEND_END_ARG_INFO()
100 
101 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_date_add, 0, 2, DateTime, 0)
102 	ZEND_ARG_OBJ_INFO(0, object, DateTime, 0)
103 	ZEND_ARG_OBJ_INFO(0, interval, DateInterval, 0)
104 ZEND_END_ARG_INFO()
105 
106 #define arginfo_date_sub arginfo_date_add
107 
108 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_date_timezone_get, 0, 1, DateTimeZone, MAY_BE_FALSE)
109 	ZEND_ARG_OBJ_INFO(0, object, DateTimeInterface, 0)
110 ZEND_END_ARG_INFO()
111 
112 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_date_timezone_set, 0, 2, DateTime, 0)
113 	ZEND_ARG_OBJ_INFO(0, object, DateTime, 0)
114 	ZEND_ARG_OBJ_INFO(0, timezone, DateTimeZone, 0)
115 ZEND_END_ARG_INFO()
116 
117 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_date_offset_get, 0, 1, IS_LONG, 0)
118 	ZEND_ARG_OBJ_INFO(0, object, DateTimeInterface, 0)
119 ZEND_END_ARG_INFO()
120 
121 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_date_diff, 0, 2, DateInterval, 0)
122 	ZEND_ARG_OBJ_INFO(0, baseObject, DateTimeInterface, 0)
123 	ZEND_ARG_OBJ_INFO(0, targetObject, DateTimeInterface, 0)
124 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, absolute, _IS_BOOL, 0, "false")
125 ZEND_END_ARG_INFO()
126 
127 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_date_time_set, 0, 3, DateTime, 0)
128 	ZEND_ARG_OBJ_INFO(0, object, DateTime, 0)
129 	ZEND_ARG_TYPE_INFO(0, hour, IS_LONG, 0)
130 	ZEND_ARG_TYPE_INFO(0, minute, IS_LONG, 0)
131 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, second, IS_LONG, 0, "0")
132 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, microsecond, IS_LONG, 0, "0")
133 ZEND_END_ARG_INFO()
134 
135 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_date_date_set, 0, 4, DateTime, 0)
136 	ZEND_ARG_OBJ_INFO(0, object, DateTime, 0)
137 	ZEND_ARG_TYPE_INFO(0, year, IS_LONG, 0)
138 	ZEND_ARG_TYPE_INFO(0, month, IS_LONG, 0)
139 	ZEND_ARG_TYPE_INFO(0, day, IS_LONG, 0)
140 ZEND_END_ARG_INFO()
141 
142 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_date_isodate_set, 0, 3, DateTime, 0)
143 	ZEND_ARG_OBJ_INFO(0, object, DateTime, 0)
144 	ZEND_ARG_TYPE_INFO(0, year, IS_LONG, 0)
145 	ZEND_ARG_TYPE_INFO(0, week, IS_LONG, 0)
146 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, dayOfWeek, IS_LONG, 0, "1")
147 ZEND_END_ARG_INFO()
148 
149 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_date_timestamp_set, 0, 2, DateTime, 0)
150 	ZEND_ARG_OBJ_INFO(0, object, DateTime, 0)
151 	ZEND_ARG_TYPE_INFO(0, timestamp, IS_LONG, 0)
152 ZEND_END_ARG_INFO()
153 
154 #define arginfo_date_timestamp_get arginfo_date_offset_get
155 
156 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_timezone_open, 0, 1, DateTimeZone, MAY_BE_FALSE)
157 	ZEND_ARG_TYPE_INFO(0, timezone, IS_STRING, 0)
158 ZEND_END_ARG_INFO()
159 
160 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_timezone_name_get, 0, 1, IS_STRING, 0)
161 	ZEND_ARG_OBJ_INFO(0, object, DateTimeZone, 0)
162 ZEND_END_ARG_INFO()
163 
164 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_timezone_name_from_abbr, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)
165 	ZEND_ARG_TYPE_INFO(0, abbr, IS_STRING, 0)
166 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, utcOffset, IS_LONG, 0, "-1")
167 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, isDST, IS_LONG, 0, "-1")
168 ZEND_END_ARG_INFO()
169 
170 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_timezone_offset_get, 0, 2, IS_LONG, 0)
171 	ZEND_ARG_OBJ_INFO(0, object, DateTimeZone, 0)
172 	ZEND_ARG_OBJ_INFO(0, datetime, DateTimeInterface, 0)
173 ZEND_END_ARG_INFO()
174 
175 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_timezone_transitions_get, 0, 1, MAY_BE_ARRAY|MAY_BE_FALSE)
176 	ZEND_ARG_OBJ_INFO(0, object, DateTimeZone, 0)
177 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, timestampBegin, IS_LONG, 0, "PHP_INT_MIN")
178 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, timestampEnd, IS_LONG, 0, "PHP_INT_MAX")
179 ZEND_END_ARG_INFO()
180 
181 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_timezone_location_get, 0, 1, MAY_BE_ARRAY|MAY_BE_FALSE)
182 	ZEND_ARG_OBJ_INFO(0, object, DateTimeZone, 0)
183 ZEND_END_ARG_INFO()
184 
185 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_timezone_identifiers_list, 0, 0, IS_ARRAY, 0)
186 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, timezoneGroup, IS_LONG, 0, "DateTimeZone::ALL")
187 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, countryCode, IS_STRING, 1, "null")
188 ZEND_END_ARG_INFO()
189 
190 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_timezone_abbreviations_list, 0, 0, IS_ARRAY, 0)
191 ZEND_END_ARG_INFO()
192 
193 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_timezone_version_get, 0, 0, IS_STRING, 0)
194 ZEND_END_ARG_INFO()
195 
196 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_date_interval_create_from_date_string, 0, 1, DateInterval, MAY_BE_FALSE)
197 	ZEND_ARG_TYPE_INFO(0, datetime, IS_STRING, 0)
198 ZEND_END_ARG_INFO()
199 
200 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_date_interval_format, 0, 2, IS_STRING, 0)
201 	ZEND_ARG_OBJ_INFO(0, object, DateInterval, 0)
202 	ZEND_ARG_TYPE_INFO(0, format, IS_STRING, 0)
203 ZEND_END_ARG_INFO()
204 
205 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_date_default_timezone_set, 0, 1, _IS_BOOL, 0)
206 	ZEND_ARG_TYPE_INFO(0, timezoneId, IS_STRING, 0)
207 ZEND_END_ARG_INFO()
208 
209 #define arginfo_date_default_timezone_get arginfo_timezone_version_get
210 
211 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_date_sunrise, 0, 1, MAY_BE_STRING|MAY_BE_LONG|MAY_BE_DOUBLE|MAY_BE_FALSE)
212 	ZEND_ARG_TYPE_INFO(0, timestamp, IS_LONG, 0)
213 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, returnFormat, IS_LONG, 0, "SUNFUNCS_RET_STRING")
214 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, latitude, IS_DOUBLE, 1, "null")
215 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, longitude, IS_DOUBLE, 1, "null")
216 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, zenith, IS_DOUBLE, 1, "null")
217 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, utcOffset, IS_DOUBLE, 1, "null")
218 ZEND_END_ARG_INFO()
219 
220 #define arginfo_date_sunset arginfo_date_sunrise
221 
222 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_date_sun_info, 0, 3, IS_ARRAY, 0)
223 	ZEND_ARG_TYPE_INFO(0, timestamp, IS_LONG, 0)
224 	ZEND_ARG_TYPE_INFO(0, latitude, IS_DOUBLE, 0)
225 	ZEND_ARG_TYPE_INFO(0, longitude, IS_DOUBLE, 0)
226 ZEND_END_ARG_INFO()
227 
228 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DateTimeInterface_format, 0, 0, 1)
229 	ZEND_ARG_TYPE_INFO(0, format, IS_STRING, 0)
230 ZEND_END_ARG_INFO()
231 
232 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DateTimeInterface_getTimezone, 0, 0, 0)
233 ZEND_END_ARG_INFO()
234 
235 #define arginfo_class_DateTimeInterface_getOffset arginfo_class_DateTimeInterface_getTimezone
236 
237 #define arginfo_class_DateTimeInterface_getTimestamp arginfo_class_DateTimeInterface_getTimezone
238 
239 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DateTimeInterface_diff, 0, 0, 1)
240 	ZEND_ARG_OBJ_INFO(0, targetObject, DateTimeInterface, 0)
241 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, absolute, _IS_BOOL, 0, "false")
242 ZEND_END_ARG_INFO()
243 
244 #define arginfo_class_DateTimeInterface___wakeup arginfo_class_DateTimeInterface_getTimezone
245 
246 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DateTime___construct, 0, 0, 0)
247 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, datetime, IS_STRING, 0, "\"now\"")
248 	ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, timezone, DateTimeZone, 1, "null")
249 ZEND_END_ARG_INFO()
250 
251 #define arginfo_class_DateTime___wakeup arginfo_class_DateTimeInterface_getTimezone
252 
253 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DateTime___set_state, 0, 0, 1)
254 	ZEND_ARG_TYPE_INFO(0, array, IS_ARRAY, 0)
255 ZEND_END_ARG_INFO()
256 
257 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DateTime_createFromImmutable, 0, 0, 1)
258 	ZEND_ARG_OBJ_INFO(0, object, DateTimeImmutable, 0)
259 ZEND_END_ARG_INFO()
260 
261 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_DateTime_createFromInterface, 0, 1, DateTime, 0)
262 	ZEND_ARG_OBJ_INFO(0, object, DateTimeInterface, 0)
263 ZEND_END_ARG_INFO()
264 
265 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DateTime_createFromFormat, 0, 0, 2)
266 	ZEND_ARG_TYPE_INFO(0, format, IS_STRING, 0)
267 	ZEND_ARG_TYPE_INFO(0, datetime, IS_STRING, 0)
268 	ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, timezone, DateTimeZone, 1, "null")
269 ZEND_END_ARG_INFO()
270 
271 #define arginfo_class_DateTime_getLastErrors arginfo_class_DateTimeInterface_getTimezone
272 
273 #define arginfo_class_DateTime_format arginfo_class_DateTimeInterface_format
274 
275 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DateTime_modify, 0, 0, 1)
276 	ZEND_ARG_TYPE_INFO(0, modifier, IS_STRING, 0)
277 ZEND_END_ARG_INFO()
278 
279 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DateTime_add, 0, 0, 1)
280 	ZEND_ARG_OBJ_INFO(0, interval, DateInterval, 0)
281 ZEND_END_ARG_INFO()
282 
283 #define arginfo_class_DateTime_sub arginfo_class_DateTime_add
284 
285 #define arginfo_class_DateTime_getTimezone arginfo_class_DateTimeInterface_getTimezone
286 
287 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DateTime_setTimezone, 0, 0, 1)
288 	ZEND_ARG_OBJ_INFO(0, timezone, DateTimeZone, 0)
289 ZEND_END_ARG_INFO()
290 
291 #define arginfo_class_DateTime_getOffset arginfo_class_DateTimeInterface_getTimezone
292 
293 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DateTime_setTime, 0, 0, 2)
294 	ZEND_ARG_TYPE_INFO(0, hour, IS_LONG, 0)
295 	ZEND_ARG_TYPE_INFO(0, minute, IS_LONG, 0)
296 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, second, IS_LONG, 0, "0")
297 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, microsecond, IS_LONG, 0, "0")
298 ZEND_END_ARG_INFO()
299 
300 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DateTime_setDate, 0, 0, 3)
301 	ZEND_ARG_TYPE_INFO(0, year, IS_LONG, 0)
302 	ZEND_ARG_TYPE_INFO(0, month, IS_LONG, 0)
303 	ZEND_ARG_TYPE_INFO(0, day, IS_LONG, 0)
304 ZEND_END_ARG_INFO()
305 
306 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DateTime_setISODate, 0, 0, 2)
307 	ZEND_ARG_TYPE_INFO(0, year, IS_LONG, 0)
308 	ZEND_ARG_TYPE_INFO(0, week, IS_LONG, 0)
309 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, dayOfWeek, IS_LONG, 0, "1")
310 ZEND_END_ARG_INFO()
311 
312 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DateTime_setTimestamp, 0, 0, 1)
313 	ZEND_ARG_TYPE_INFO(0, timestamp, IS_LONG, 0)
314 ZEND_END_ARG_INFO()
315 
316 #define arginfo_class_DateTime_getTimestamp arginfo_class_DateTimeInterface_getTimezone
317 
318 #define arginfo_class_DateTime_diff arginfo_class_DateTimeInterface_diff
319 
320 #define arginfo_class_DateTimeImmutable___construct arginfo_class_DateTime___construct
321 
322 #define arginfo_class_DateTimeImmutable___wakeup arginfo_class_DateTimeInterface_getTimezone
323 
324 #define arginfo_class_DateTimeImmutable___set_state arginfo_class_DateTime___set_state
325 
326 #define arginfo_class_DateTimeImmutable_createFromFormat arginfo_class_DateTime_createFromFormat
327 
328 #define arginfo_class_DateTimeImmutable_getLastErrors arginfo_class_DateTimeInterface_getTimezone
329 
330 #define arginfo_class_DateTimeImmutable_format arginfo_class_DateTimeInterface_format
331 
332 #define arginfo_class_DateTimeImmutable_getTimezone arginfo_class_DateTimeInterface_getTimezone
333 
334 #define arginfo_class_DateTimeImmutable_getOffset arginfo_class_DateTimeInterface_getTimezone
335 
336 #define arginfo_class_DateTimeImmutable_getTimestamp arginfo_class_DateTimeInterface_getTimezone
337 
338 #define arginfo_class_DateTimeImmutable_diff arginfo_class_DateTimeInterface_diff
339 
340 #define arginfo_class_DateTimeImmutable_modify arginfo_class_DateTime_modify
341 
342 #define arginfo_class_DateTimeImmutable_add arginfo_class_DateTime_add
343 
344 #define arginfo_class_DateTimeImmutable_sub arginfo_class_DateTime_add
345 
346 #define arginfo_class_DateTimeImmutable_setTimezone arginfo_class_DateTime_setTimezone
347 
348 #define arginfo_class_DateTimeImmutable_setTime arginfo_class_DateTime_setTime
349 
350 #define arginfo_class_DateTimeImmutable_setDate arginfo_class_DateTime_setDate
351 
352 #define arginfo_class_DateTimeImmutable_setISODate arginfo_class_DateTime_setISODate
353 
354 #define arginfo_class_DateTimeImmutable_setTimestamp arginfo_class_DateTime_setTimestamp
355 
356 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DateTimeImmutable_createFromMutable, 0, 0, 1)
357 	ZEND_ARG_OBJ_INFO(0, object, DateTime, 0)
358 ZEND_END_ARG_INFO()
359 
360 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_DateTimeImmutable_createFromInterface, 0, 1, DateTimeImmutable, 0)
361 	ZEND_ARG_OBJ_INFO(0, object, DateTimeInterface, 0)
362 ZEND_END_ARG_INFO()
363 
364 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DateTimeZone___construct, 0, 0, 1)
365 	ZEND_ARG_TYPE_INFO(0, timezone, IS_STRING, 0)
366 ZEND_END_ARG_INFO()
367 
368 #define arginfo_class_DateTimeZone_getName arginfo_class_DateTimeInterface_getTimezone
369 
370 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DateTimeZone_getOffset, 0, 0, 1)
371 	ZEND_ARG_OBJ_INFO(0, datetime, DateTimeInterface, 0)
372 ZEND_END_ARG_INFO()
373 
374 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DateTimeZone_getTransitions, 0, 0, 0)
375 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, timestampBegin, IS_LONG, 0, "PHP_INT_MIN")
376 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, timestampEnd, IS_LONG, 0, "PHP_INT_MAX")
377 ZEND_END_ARG_INFO()
378 
379 #define arginfo_class_DateTimeZone_getLocation arginfo_class_DateTimeInterface_getTimezone
380 
381 #define arginfo_class_DateTimeZone_listAbbreviations arginfo_class_DateTimeInterface_getTimezone
382 
383 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DateTimeZone_listIdentifiers, 0, 0, 0)
384 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, timezoneGroup, IS_LONG, 0, "DateTimeZone::ALL")
385 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, countryCode, IS_STRING, 1, "null")
386 ZEND_END_ARG_INFO()
387 
388 #define arginfo_class_DateTimeZone___wakeup arginfo_class_DateTimeInterface_getTimezone
389 
390 #define arginfo_class_DateTimeZone___set_state arginfo_class_DateTime___set_state
391 
392 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DateInterval___construct, 0, 0, 1)
393 	ZEND_ARG_TYPE_INFO(0, duration, IS_STRING, 0)
394 ZEND_END_ARG_INFO()
395 
396 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DateInterval_createFromDateString, 0, 0, 1)
397 	ZEND_ARG_TYPE_INFO(0, datetime, IS_STRING, 0)
398 ZEND_END_ARG_INFO()
399 
400 #define arginfo_class_DateInterval_format arginfo_class_DateTimeInterface_format
401 
402 #define arginfo_class_DateInterval___wakeup arginfo_class_DateTimeInterface_getTimezone
403 
404 #define arginfo_class_DateInterval___set_state arginfo_class_DateTime___set_state
405 
406 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DatePeriod___construct, 0, 0, 1)
407 	ZEND_ARG_INFO(0, start)
408 	ZEND_ARG_INFO(0, interval)
409 	ZEND_ARG_INFO(0, end)
410 	ZEND_ARG_INFO(0, options)
411 ZEND_END_ARG_INFO()
412 
413 #define arginfo_class_DatePeriod_getStartDate arginfo_class_DateTimeInterface_getTimezone
414 
415 #define arginfo_class_DatePeriod_getEndDate arginfo_class_DateTimeInterface_getTimezone
416 
417 #define arginfo_class_DatePeriod_getDateInterval arginfo_class_DateTimeInterface_getTimezone
418 
419 #define arginfo_class_DatePeriod_getRecurrences arginfo_class_DateTimeInterface_getTimezone
420 
421 #define arginfo_class_DatePeriod___wakeup arginfo_class_DateTimeInterface_getTimezone
422 
423 #define arginfo_class_DatePeriod___set_state arginfo_class_DateTime___set_state
424 
425 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_DatePeriod_getIterator, 0, 0, Iterator, 0)
426 ZEND_END_ARG_INFO()
427 
428 
429 ZEND_FUNCTION(strtotime);
430 ZEND_FUNCTION(date);
431 ZEND_FUNCTION(idate);
432 ZEND_FUNCTION(gmdate);
433 ZEND_FUNCTION(mktime);
434 ZEND_FUNCTION(gmmktime);
435 ZEND_FUNCTION(checkdate);
436 ZEND_FUNCTION(strftime);
437 ZEND_FUNCTION(gmstrftime);
438 ZEND_FUNCTION(time);
439 ZEND_FUNCTION(localtime);
440 ZEND_FUNCTION(getdate);
441 ZEND_FUNCTION(date_create);
442 ZEND_FUNCTION(date_create_immutable);
443 ZEND_FUNCTION(date_create_from_format);
444 ZEND_FUNCTION(date_create_immutable_from_format);
445 ZEND_FUNCTION(date_parse);
446 ZEND_FUNCTION(date_parse_from_format);
447 ZEND_FUNCTION(date_get_last_errors);
448 ZEND_FUNCTION(date_format);
449 ZEND_FUNCTION(date_modify);
450 ZEND_FUNCTION(date_add);
451 ZEND_FUNCTION(date_sub);
452 ZEND_FUNCTION(date_timezone_get);
453 ZEND_FUNCTION(date_timezone_set);
454 ZEND_FUNCTION(date_offset_get);
455 ZEND_FUNCTION(date_diff);
456 ZEND_FUNCTION(date_time_set);
457 ZEND_FUNCTION(date_date_set);
458 ZEND_FUNCTION(date_isodate_set);
459 ZEND_FUNCTION(date_timestamp_set);
460 ZEND_FUNCTION(date_timestamp_get);
461 ZEND_FUNCTION(timezone_open);
462 ZEND_FUNCTION(timezone_name_get);
463 ZEND_FUNCTION(timezone_name_from_abbr);
464 ZEND_FUNCTION(timezone_offset_get);
465 ZEND_FUNCTION(timezone_transitions_get);
466 ZEND_FUNCTION(timezone_location_get);
467 ZEND_FUNCTION(timezone_identifiers_list);
468 ZEND_FUNCTION(timezone_abbreviations_list);
469 ZEND_FUNCTION(timezone_version_get);
470 ZEND_FUNCTION(date_interval_create_from_date_string);
471 ZEND_FUNCTION(date_interval_format);
472 ZEND_FUNCTION(date_default_timezone_set);
473 ZEND_FUNCTION(date_default_timezone_get);
474 ZEND_FUNCTION(date_sunrise);
475 ZEND_FUNCTION(date_sunset);
476 ZEND_FUNCTION(date_sun_info);
477 ZEND_METHOD(DateTime, __construct);
478 ZEND_METHOD(DateTime, __wakeup);
479 ZEND_METHOD(DateTime, __set_state);
480 ZEND_METHOD(DateTime, createFromImmutable);
481 ZEND_METHOD(DateTime, createFromInterface);
482 ZEND_METHOD(DateTimeImmutable, __construct);
483 ZEND_METHOD(DateTimeImmutable, __wakeup);
484 ZEND_METHOD(DateTimeImmutable, __set_state);
485 ZEND_METHOD(DateTimeImmutable, modify);
486 ZEND_METHOD(DateTimeImmutable, add);
487 ZEND_METHOD(DateTimeImmutable, sub);
488 ZEND_METHOD(DateTimeImmutable, setTimezone);
489 ZEND_METHOD(DateTimeImmutable, setTime);
490 ZEND_METHOD(DateTimeImmutable, setDate);
491 ZEND_METHOD(DateTimeImmutable, setISODate);
492 ZEND_METHOD(DateTimeImmutable, setTimestamp);
493 ZEND_METHOD(DateTimeImmutable, createFromMutable);
494 ZEND_METHOD(DateTimeImmutable, createFromInterface);
495 ZEND_METHOD(DateTimeZone, __construct);
496 ZEND_METHOD(DateTimeZone, __wakeup);
497 ZEND_METHOD(DateTimeZone, __set_state);
498 ZEND_METHOD(DateInterval, __construct);
499 ZEND_METHOD(DateInterval, __wakeup);
500 ZEND_METHOD(DateInterval, __set_state);
501 ZEND_METHOD(DatePeriod, __construct);
502 ZEND_METHOD(DatePeriod, getStartDate);
503 ZEND_METHOD(DatePeriod, getEndDate);
504 ZEND_METHOD(DatePeriod, getDateInterval);
505 ZEND_METHOD(DatePeriod, getRecurrences);
506 ZEND_METHOD(DatePeriod, __wakeup);
507 ZEND_METHOD(DatePeriod, __set_state);
508 ZEND_METHOD(DatePeriod, getIterator);
509 
510 
511 static const zend_function_entry ext_functions[] = {
512 	ZEND_FE(strtotime, arginfo_strtotime)
513 	ZEND_FE(date, arginfo_date)
514 	ZEND_FE(idate, arginfo_idate)
515 	ZEND_FE(gmdate, arginfo_gmdate)
516 	ZEND_FE(mktime, arginfo_mktime)
517 	ZEND_FE(gmmktime, arginfo_gmmktime)
518 	ZEND_FE(checkdate, arginfo_checkdate)
519 	ZEND_FE(strftime, arginfo_strftime)
520 	ZEND_FE(gmstrftime, arginfo_gmstrftime)
521 	ZEND_FE(time, arginfo_time)
522 	ZEND_FE(localtime, arginfo_localtime)
523 	ZEND_FE(getdate, arginfo_getdate)
524 	ZEND_FE(date_create, arginfo_date_create)
525 	ZEND_FE(date_create_immutable, arginfo_date_create_immutable)
526 	ZEND_FE(date_create_from_format, arginfo_date_create_from_format)
527 	ZEND_FE(date_create_immutable_from_format, arginfo_date_create_immutable_from_format)
528 	ZEND_FE(date_parse, arginfo_date_parse)
529 	ZEND_FE(date_parse_from_format, arginfo_date_parse_from_format)
530 	ZEND_FE(date_get_last_errors, arginfo_date_get_last_errors)
531 	ZEND_FE(date_format, arginfo_date_format)
532 	ZEND_FE(date_modify, arginfo_date_modify)
533 	ZEND_FE(date_add, arginfo_date_add)
534 	ZEND_FE(date_sub, arginfo_date_sub)
535 	ZEND_FE(date_timezone_get, arginfo_date_timezone_get)
536 	ZEND_FE(date_timezone_set, arginfo_date_timezone_set)
537 	ZEND_FE(date_offset_get, arginfo_date_offset_get)
538 	ZEND_FE(date_diff, arginfo_date_diff)
539 	ZEND_FE(date_time_set, arginfo_date_time_set)
540 	ZEND_FE(date_date_set, arginfo_date_date_set)
541 	ZEND_FE(date_isodate_set, arginfo_date_isodate_set)
542 	ZEND_FE(date_timestamp_set, arginfo_date_timestamp_set)
543 	ZEND_FE(date_timestamp_get, arginfo_date_timestamp_get)
544 	ZEND_FE(timezone_open, arginfo_timezone_open)
545 	ZEND_FE(timezone_name_get, arginfo_timezone_name_get)
546 	ZEND_FE(timezone_name_from_abbr, arginfo_timezone_name_from_abbr)
547 	ZEND_FE(timezone_offset_get, arginfo_timezone_offset_get)
548 	ZEND_FE(timezone_transitions_get, arginfo_timezone_transitions_get)
549 	ZEND_FE(timezone_location_get, arginfo_timezone_location_get)
550 	ZEND_FE(timezone_identifiers_list, arginfo_timezone_identifiers_list)
551 	ZEND_FE(timezone_abbreviations_list, arginfo_timezone_abbreviations_list)
552 	ZEND_FE(timezone_version_get, arginfo_timezone_version_get)
553 	ZEND_FE(date_interval_create_from_date_string, arginfo_date_interval_create_from_date_string)
554 	ZEND_FE(date_interval_format, arginfo_date_interval_format)
555 	ZEND_FE(date_default_timezone_set, arginfo_date_default_timezone_set)
556 	ZEND_FE(date_default_timezone_get, arginfo_date_default_timezone_get)
557 	ZEND_FE(date_sunrise, arginfo_date_sunrise)
558 	ZEND_FE(date_sunset, arginfo_date_sunset)
559 	ZEND_FE(date_sun_info, arginfo_date_sun_info)
560 	ZEND_FE_END
561 };
562 
563 
564 static const zend_function_entry class_DateTimeInterface_methods[] = {
565 	ZEND_ABSTRACT_ME_WITH_FLAGS(DateTimeInterface, format, arginfo_class_DateTimeInterface_format, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
566 	ZEND_ABSTRACT_ME_WITH_FLAGS(DateTimeInterface, getTimezone, arginfo_class_DateTimeInterface_getTimezone, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
567 	ZEND_ABSTRACT_ME_WITH_FLAGS(DateTimeInterface, getOffset, arginfo_class_DateTimeInterface_getOffset, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
568 	ZEND_ABSTRACT_ME_WITH_FLAGS(DateTimeInterface, getTimestamp, arginfo_class_DateTimeInterface_getTimestamp, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
569 	ZEND_ABSTRACT_ME_WITH_FLAGS(DateTimeInterface, diff, arginfo_class_DateTimeInterface_diff, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
570 	ZEND_ABSTRACT_ME_WITH_FLAGS(DateTimeInterface, __wakeup, arginfo_class_DateTimeInterface___wakeup, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
571 	ZEND_FE_END
572 };
573 
574 
575 static const zend_function_entry class_DateTime_methods[] = {
576 	ZEND_ME(DateTime, __construct, arginfo_class_DateTime___construct, ZEND_ACC_PUBLIC)
577 	ZEND_ME(DateTime, __wakeup, arginfo_class_DateTime___wakeup, ZEND_ACC_PUBLIC)
578 	ZEND_ME(DateTime, __set_state, arginfo_class_DateTime___set_state, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
579 	ZEND_ME(DateTime, createFromImmutable, arginfo_class_DateTime_createFromImmutable, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
580 	ZEND_ME(DateTime, createFromInterface, arginfo_class_DateTime_createFromInterface, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
581 	ZEND_ME_MAPPING(createFromFormat, date_create_from_format, arginfo_class_DateTime_createFromFormat, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
582 	ZEND_ME_MAPPING(getLastErrors, date_get_last_errors, arginfo_class_DateTime_getLastErrors, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
583 	ZEND_ME_MAPPING(format, date_format, arginfo_class_DateTime_format, ZEND_ACC_PUBLIC)
584 	ZEND_ME_MAPPING(modify, date_modify, arginfo_class_DateTime_modify, ZEND_ACC_PUBLIC)
585 	ZEND_ME_MAPPING(add, date_add, arginfo_class_DateTime_add, ZEND_ACC_PUBLIC)
586 	ZEND_ME_MAPPING(sub, date_sub, arginfo_class_DateTime_sub, ZEND_ACC_PUBLIC)
587 	ZEND_ME_MAPPING(getTimezone, date_timezone_get, arginfo_class_DateTime_getTimezone, ZEND_ACC_PUBLIC)
588 	ZEND_ME_MAPPING(setTimezone, date_timezone_set, arginfo_class_DateTime_setTimezone, ZEND_ACC_PUBLIC)
589 	ZEND_ME_MAPPING(getOffset, date_offset_get, arginfo_class_DateTime_getOffset, ZEND_ACC_PUBLIC)
590 	ZEND_ME_MAPPING(setTime, date_time_set, arginfo_class_DateTime_setTime, ZEND_ACC_PUBLIC)
591 	ZEND_ME_MAPPING(setDate, date_date_set, arginfo_class_DateTime_setDate, ZEND_ACC_PUBLIC)
592 	ZEND_ME_MAPPING(setISODate, date_isodate_set, arginfo_class_DateTime_setISODate, ZEND_ACC_PUBLIC)
593 	ZEND_ME_MAPPING(setTimestamp, date_timestamp_set, arginfo_class_DateTime_setTimestamp, ZEND_ACC_PUBLIC)
594 	ZEND_ME_MAPPING(getTimestamp, date_timestamp_get, arginfo_class_DateTime_getTimestamp, ZEND_ACC_PUBLIC)
595 	ZEND_ME_MAPPING(diff, date_diff, arginfo_class_DateTime_diff, ZEND_ACC_PUBLIC)
596 	ZEND_FE_END
597 };
598 
599 
600 static const zend_function_entry class_DateTimeImmutable_methods[] = {
601 	ZEND_ME(DateTimeImmutable, __construct, arginfo_class_DateTimeImmutable___construct, ZEND_ACC_PUBLIC)
602 	ZEND_ME(DateTimeImmutable, __wakeup, arginfo_class_DateTimeImmutable___wakeup, ZEND_ACC_PUBLIC)
603 	ZEND_ME(DateTimeImmutable, __set_state, arginfo_class_DateTimeImmutable___set_state, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
604 	ZEND_ME_MAPPING(createFromFormat, date_create_immutable_from_format, arginfo_class_DateTimeImmutable_createFromFormat, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
605 	ZEND_ME_MAPPING(getLastErrors, date_get_last_errors, arginfo_class_DateTimeImmutable_getLastErrors, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
606 	ZEND_ME_MAPPING(format, date_format, arginfo_class_DateTimeImmutable_format, ZEND_ACC_PUBLIC)
607 	ZEND_ME_MAPPING(getTimezone, date_timezone_get, arginfo_class_DateTimeImmutable_getTimezone, ZEND_ACC_PUBLIC)
608 	ZEND_ME_MAPPING(getOffset, date_offset_get, arginfo_class_DateTimeImmutable_getOffset, ZEND_ACC_PUBLIC)
609 	ZEND_ME_MAPPING(getTimestamp, date_timestamp_get, arginfo_class_DateTimeImmutable_getTimestamp, ZEND_ACC_PUBLIC)
610 	ZEND_ME_MAPPING(diff, date_diff, arginfo_class_DateTimeImmutable_diff, ZEND_ACC_PUBLIC)
611 	ZEND_ME(DateTimeImmutable, modify, arginfo_class_DateTimeImmutable_modify, ZEND_ACC_PUBLIC)
612 	ZEND_ME(DateTimeImmutable, add, arginfo_class_DateTimeImmutable_add, ZEND_ACC_PUBLIC)
613 	ZEND_ME(DateTimeImmutable, sub, arginfo_class_DateTimeImmutable_sub, ZEND_ACC_PUBLIC)
614 	ZEND_ME(DateTimeImmutable, setTimezone, arginfo_class_DateTimeImmutable_setTimezone, ZEND_ACC_PUBLIC)
615 	ZEND_ME(DateTimeImmutable, setTime, arginfo_class_DateTimeImmutable_setTime, ZEND_ACC_PUBLIC)
616 	ZEND_ME(DateTimeImmutable, setDate, arginfo_class_DateTimeImmutable_setDate, ZEND_ACC_PUBLIC)
617 	ZEND_ME(DateTimeImmutable, setISODate, arginfo_class_DateTimeImmutable_setISODate, ZEND_ACC_PUBLIC)
618 	ZEND_ME(DateTimeImmutable, setTimestamp, arginfo_class_DateTimeImmutable_setTimestamp, ZEND_ACC_PUBLIC)
619 	ZEND_ME(DateTimeImmutable, createFromMutable, arginfo_class_DateTimeImmutable_createFromMutable, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
620 	ZEND_ME(DateTimeImmutable, createFromInterface, arginfo_class_DateTimeImmutable_createFromInterface, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
621 	ZEND_FE_END
622 };
623 
624 
625 static const zend_function_entry class_DateTimeZone_methods[] = {
626 	ZEND_ME(DateTimeZone, __construct, arginfo_class_DateTimeZone___construct, ZEND_ACC_PUBLIC)
627 	ZEND_ME_MAPPING(getName, timezone_name_get, arginfo_class_DateTimeZone_getName, ZEND_ACC_PUBLIC)
628 	ZEND_ME_MAPPING(getOffset, timezone_offset_get, arginfo_class_DateTimeZone_getOffset, ZEND_ACC_PUBLIC)
629 	ZEND_ME_MAPPING(getTransitions, timezone_transitions_get, arginfo_class_DateTimeZone_getTransitions, ZEND_ACC_PUBLIC)
630 	ZEND_ME_MAPPING(getLocation, timezone_location_get, arginfo_class_DateTimeZone_getLocation, ZEND_ACC_PUBLIC)
631 	ZEND_ME_MAPPING(listAbbreviations, timezone_abbreviations_list, arginfo_class_DateTimeZone_listAbbreviations, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
632 	ZEND_ME_MAPPING(listIdentifiers, timezone_identifiers_list, arginfo_class_DateTimeZone_listIdentifiers, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
633 	ZEND_ME(DateTimeZone, __wakeup, arginfo_class_DateTimeZone___wakeup, ZEND_ACC_PUBLIC)
634 	ZEND_ME(DateTimeZone, __set_state, arginfo_class_DateTimeZone___set_state, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
635 	ZEND_FE_END
636 };
637 
638 
639 static const zend_function_entry class_DateInterval_methods[] = {
640 	ZEND_ME(DateInterval, __construct, arginfo_class_DateInterval___construct, ZEND_ACC_PUBLIC)
641 	ZEND_ME_MAPPING(createFromDateString, date_interval_create_from_date_string, arginfo_class_DateInterval_createFromDateString, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
642 	ZEND_ME_MAPPING(format, date_interval_format, arginfo_class_DateInterval_format, ZEND_ACC_PUBLIC)
643 	ZEND_ME(DateInterval, __wakeup, arginfo_class_DateInterval___wakeup, ZEND_ACC_PUBLIC)
644 	ZEND_ME(DateInterval, __set_state, arginfo_class_DateInterval___set_state, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
645 	ZEND_FE_END
646 };
647 
648 
649 static const zend_function_entry class_DatePeriod_methods[] = {
650 	ZEND_ME(DatePeriod, __construct, arginfo_class_DatePeriod___construct, ZEND_ACC_PUBLIC)
651 	ZEND_ME(DatePeriod, getStartDate, arginfo_class_DatePeriod_getStartDate, ZEND_ACC_PUBLIC)
652 	ZEND_ME(DatePeriod, getEndDate, arginfo_class_DatePeriod_getEndDate, ZEND_ACC_PUBLIC)
653 	ZEND_ME(DatePeriod, getDateInterval, arginfo_class_DatePeriod_getDateInterval, ZEND_ACC_PUBLIC)
654 	ZEND_ME(DatePeriod, getRecurrences, arginfo_class_DatePeriod_getRecurrences, ZEND_ACC_PUBLIC)
655 	ZEND_ME(DatePeriod, __wakeup, arginfo_class_DatePeriod___wakeup, ZEND_ACC_PUBLIC)
656 	ZEND_ME(DatePeriod, __set_state, arginfo_class_DatePeriod___set_state, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
657 	ZEND_ME(DatePeriod, getIterator, arginfo_class_DatePeriod_getIterator, ZEND_ACC_PUBLIC)
658 	ZEND_FE_END
659 };
660