php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
php_date_arginfo.h
Go to the documentation of this file.
1/* This is a generated file, edit the .stub.php file instead.
2 * Stub hash: 41c7662745d19808dd4550b37cd1b9f2aa94d75b */
3
5 ZEND_ARG_TYPE_INFO(0, datetime, IS_STRING, 0)
6 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, baseTimestamp, IS_LONG, 1, "null")
8
10 ZEND_ARG_TYPE_INFO(0, format, IS_STRING, 0)
11 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, timestamp, IS_LONG, 1, "null")
13
15 ZEND_ARG_TYPE_INFO(0, format, IS_STRING, 0)
16 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, timestamp, IS_LONG, 1, "null")
18
19#define arginfo_gmdate arginfo_date
20
22 ZEND_ARG_TYPE_INFO(0, hour, IS_LONG, 0)
29
30#define arginfo_gmmktime arginfo_mktime
31
32ZEND_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)
37
39 ZEND_ARG_TYPE_INFO(0, format, IS_STRING, 0)
40 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, timestamp, IS_LONG, 1, "null")
42
43#define arginfo_gmstrftime arginfo_strftime
44
47
48ZEND_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")
52
54 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, timestamp, IS_LONG, 1, "null")
56
58 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, datetime, IS_STRING, 0, "\"now\"")
61
63 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, datetime, IS_STRING, 0, "\"now\"")
66
67ZEND_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)
72
73ZEND_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)
78
79ZEND_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)
82
83ZEND_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)
87
88ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_date_get_last_errors, 0, 0, MAY_BE_ARRAY|MAY_BE_FALSE)
90
91ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_date_format, 0, 2, IS_STRING, 0)
93 ZEND_ARG_TYPE_INFO(0, format, IS_STRING, 0)
95
97 ZEND_ARG_OBJ_INFO(0, object, DateTime, 0)
98 ZEND_ARG_TYPE_INFO(0, modifier, IS_STRING, 0)
100
101ZEND_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)
105
106#define arginfo_date_sub arginfo_date_add
107
111
112ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_date_timezone_set, 0, 2, DateTime, 0)
113 ZEND_ARG_OBJ_INFO(0, object, DateTime, 0)
116
117ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_date_offset_get, 0, 1, IS_LONG, 0)
120
121ZEND_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")
126
127ZEND_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)
132 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, microsecond, IS_LONG, 0, "0")
134
135ZEND_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)
141
142ZEND_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)
148
149ZEND_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)
153
154#define arginfo_date_timestamp_get arginfo_date_offset_get
155
159
160ZEND_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)
163
164ZEND_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")
169
170ZEND_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)
174
175ZEND_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")
180
181ZEND_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)
184
185ZEND_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")
189
190ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_timezone_abbreviations_list, 0, 0, IS_ARRAY, 0)
192
193ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_timezone_version_get, 0, 0, IS_STRING, 0)
195
196ZEND_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)
199
200ZEND_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)
204
205ZEND_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)
208
209#define arginfo_date_default_timezone_get arginfo_timezone_version_get
210
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")
217 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, utcOffset, IS_DOUBLE, 1, "null")
219
220#define arginfo_date_sunset arginfo_date_sunrise
221
222ZEND_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)
227
228ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DateTimeInterface_format, 0, 1, IS_STRING, 0)
229 ZEND_ARG_TYPE_INFO(0, format, IS_STRING, 0)
231
232ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_TYPE_MASK_EX(arginfo_class_DateTimeInterface_getTimezone, 0, 0, DateTimeZone, MAY_BE_FALSE)
234
235ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DateTimeInterface_getOffset, 0, 0, IS_LONG, 0)
237
238#define arginfo_class_DateTimeInterface_getTimestamp arginfo_class_DateTimeInterface_getOffset
239
240#define arginfo_class_DateTimeInterface_getMicrosecond arginfo_time
241
242ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_INFO_EX(arginfo_class_DateTimeInterface_diff, 0, 1, DateInterval, 0)
243 ZEND_ARG_OBJ_INFO(0, targetObject, DateTimeInterface, 0)
244 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, absolute, _IS_BOOL, 0, "false")
246
247ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DateTimeInterface___wakeup, 0, 0, IS_VOID, 0)
249
250#define arginfo_class_DateTimeInterface___serialize arginfo_timezone_abbreviations_list
251
252ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_DateTimeInterface___unserialize, 0, 1, IS_VOID, 0)
255
256ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DateTime___construct, 0, 0, 0)
257 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, datetime, IS_STRING, 0, "\"now\"")
260
261#define arginfo_class_DateTime___serialize arginfo_timezone_abbreviations_list
262
263#define arginfo_class_DateTime___unserialize arginfo_class_DateTimeInterface___unserialize
264
265#define arginfo_class_DateTime___wakeup arginfo_class_DateTimeInterface___wakeup
266
267ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_INFO_EX(arginfo_class_DateTime___set_state, 0, 1, DateTime, 0)
268 ZEND_ARG_TYPE_INFO(0, array, IS_ARRAY, 0)
270
271ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DateTime_createFromImmutable, 0, 1, IS_STATIC, 0)
274
275ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_DateTime_createFromInterface, 0, 1, DateTime, 0)
278
279ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_TYPE_MASK_EX(arginfo_class_DateTime_createFromFormat, 0, 2, DateTime, MAY_BE_FALSE)
280 ZEND_ARG_TYPE_INFO(0, format, IS_STRING, 0)
281 ZEND_ARG_TYPE_INFO(0, datetime, IS_STRING, 0)
284
285ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DateTime_createFromTimestamp, 0, 1, IS_STATIC, 0)
288
289ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_MASK_EX(arginfo_class_DateTime_getLastErrors, 0, 0, MAY_BE_ARRAY|MAY_BE_FALSE)
291
292#define arginfo_class_DateTime_format arginfo_class_DateTimeInterface_format
293
294ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_INFO_EX(arginfo_class_DateTime_modify, 0, 1, DateTime, 0)
295 ZEND_ARG_TYPE_INFO(0, modifier, IS_STRING, 0)
297
298ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_INFO_EX(arginfo_class_DateTime_add, 0, 1, DateTime, 0)
299 ZEND_ARG_OBJ_INFO(0, interval, DateInterval, 0)
301
302#define arginfo_class_DateTime_sub arginfo_class_DateTime_add
303
304#define arginfo_class_DateTime_getTimezone arginfo_class_DateTimeInterface_getTimezone
305
306ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_INFO_EX(arginfo_class_DateTime_setTimezone, 0, 1, DateTime, 0)
309
310#define arginfo_class_DateTime_getOffset arginfo_class_DateTimeInterface_getOffset
311
312#define arginfo_class_DateTime_getMicrosecond arginfo_time
313
314ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_INFO_EX(arginfo_class_DateTime_setTime, 0, 2, DateTime, 0)
315 ZEND_ARG_TYPE_INFO(0, hour, IS_LONG, 0)
316 ZEND_ARG_TYPE_INFO(0, minute, IS_LONG, 0)
318 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, microsecond, IS_LONG, 0, "0")
320
321ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_INFO_EX(arginfo_class_DateTime_setDate, 0, 3, DateTime, 0)
322 ZEND_ARG_TYPE_INFO(0, year, IS_LONG, 0)
323 ZEND_ARG_TYPE_INFO(0, month, IS_LONG, 0)
324 ZEND_ARG_TYPE_INFO(0, day, IS_LONG, 0)
326
327ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_INFO_EX(arginfo_class_DateTime_setISODate, 0, 2, DateTime, 0)
328 ZEND_ARG_TYPE_INFO(0, year, IS_LONG, 0)
329 ZEND_ARG_TYPE_INFO(0, week, IS_LONG, 0)
332
333ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_INFO_EX(arginfo_class_DateTime_setTimestamp, 0, 1, DateTime, 0)
334 ZEND_ARG_TYPE_INFO(0, timestamp, IS_LONG, 0)
336
337ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_DateTime_setMicrosecond, 0, 1, IS_STATIC, 0)
338 ZEND_ARG_TYPE_INFO(0, microsecond, IS_LONG, 0)
340
341#define arginfo_class_DateTime_getTimestamp arginfo_class_DateTimeInterface_getOffset
342
343#define arginfo_class_DateTime_diff arginfo_class_DateTimeInterface_diff
344
345#define arginfo_class_DateTimeImmutable___construct arginfo_class_DateTime___construct
346
347#define arginfo_class_DateTimeImmutable___serialize arginfo_timezone_abbreviations_list
348
349#define arginfo_class_DateTimeImmutable___unserialize arginfo_class_DateTimeInterface___unserialize
350
351#define arginfo_class_DateTimeImmutable___wakeup arginfo_class_DateTimeInterface___wakeup
352
353ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_INFO_EX(arginfo_class_DateTimeImmutable___set_state, 0, 1, DateTimeImmutable, 0)
354 ZEND_ARG_TYPE_INFO(0, array, IS_ARRAY, 0)
356
357ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_TYPE_MASK_EX(arginfo_class_DateTimeImmutable_createFromFormat, 0, 2, DateTimeImmutable, MAY_BE_FALSE)
358 ZEND_ARG_TYPE_INFO(0, format, IS_STRING, 0)
359 ZEND_ARG_TYPE_INFO(0, datetime, IS_STRING, 0)
362
363#define arginfo_class_DateTimeImmutable_createFromTimestamp arginfo_class_DateTime_createFromTimestamp
364
365#define arginfo_class_DateTimeImmutable_getLastErrors arginfo_class_DateTime_getLastErrors
366
367#define arginfo_class_DateTimeImmutable_format arginfo_class_DateTimeInterface_format
368
369#define arginfo_class_DateTimeImmutable_getTimezone arginfo_class_DateTimeInterface_getTimezone
370
371#define arginfo_class_DateTimeImmutable_getOffset arginfo_class_DateTimeInterface_getOffset
372
373#define arginfo_class_DateTimeImmutable_getTimestamp arginfo_class_DateTimeInterface_getOffset
374
375#define arginfo_class_DateTimeImmutable_getMicrosecond arginfo_time
376
377#define arginfo_class_DateTimeImmutable_diff arginfo_class_DateTimeInterface_diff
378
379ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_INFO_EX(arginfo_class_DateTimeImmutable_modify, 0, 1, DateTimeImmutable, 0)
380 ZEND_ARG_TYPE_INFO(0, modifier, IS_STRING, 0)
382
383ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_INFO_EX(arginfo_class_DateTimeImmutable_add, 0, 1, DateTimeImmutable, 0)
384 ZEND_ARG_OBJ_INFO(0, interval, DateInterval, 0)
386
387#define arginfo_class_DateTimeImmutable_sub arginfo_class_DateTimeImmutable_add
388
389ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_INFO_EX(arginfo_class_DateTimeImmutable_setTimezone, 0, 1, DateTimeImmutable, 0)
392
393ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_INFO_EX(arginfo_class_DateTimeImmutable_setTime, 0, 2, DateTimeImmutable, 0)
394 ZEND_ARG_TYPE_INFO(0, hour, IS_LONG, 0)
395 ZEND_ARG_TYPE_INFO(0, minute, IS_LONG, 0)
397 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, microsecond, IS_LONG, 0, "0")
399
400ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_INFO_EX(arginfo_class_DateTimeImmutable_setDate, 0, 3, DateTimeImmutable, 0)
401 ZEND_ARG_TYPE_INFO(0, year, IS_LONG, 0)
402 ZEND_ARG_TYPE_INFO(0, month, IS_LONG, 0)
403 ZEND_ARG_TYPE_INFO(0, day, IS_LONG, 0)
405
406ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_INFO_EX(arginfo_class_DateTimeImmutable_setISODate, 0, 2, DateTimeImmutable, 0)
407 ZEND_ARG_TYPE_INFO(0, year, IS_LONG, 0)
408 ZEND_ARG_TYPE_INFO(0, week, IS_LONG, 0)
411
412ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_INFO_EX(arginfo_class_DateTimeImmutable_setTimestamp, 0, 1, DateTimeImmutable, 0)
413 ZEND_ARG_TYPE_INFO(0, timestamp, IS_LONG, 0)
415
416#define arginfo_class_DateTimeImmutable_setMicrosecond arginfo_class_DateTime_setMicrosecond
417
418ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DateTimeImmutable_createFromMutable, 0, 1, IS_STATIC, 0)
419 ZEND_ARG_OBJ_INFO(0, object, DateTime, 0)
421
422ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_DateTimeImmutable_createFromInterface, 0, 1, DateTimeImmutable, 0)
425
426ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DateTimeZone___construct, 0, 0, 1)
429
430ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DateTimeZone_getName, 0, 0, IS_STRING, 0)
432
433ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DateTimeZone_getOffset, 0, 1, IS_LONG, 0)
434 ZEND_ARG_OBJ_INFO(0, datetime, DateTimeInterface, 0)
436
437ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_MASK_EX(arginfo_class_DateTimeZone_getTransitions, 0, 0, MAY_BE_ARRAY|MAY_BE_FALSE)
438 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, timestampBegin, IS_LONG, 0, "PHP_INT_MIN")
439 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, timestampEnd, IS_LONG, 0, "PHP_INT_MAX")
441
442#define arginfo_class_DateTimeZone_getLocation arginfo_class_DateTime_getLastErrors
443
444ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DateTimeZone_listAbbreviations, 0, 0, IS_ARRAY, 0)
446
447ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DateTimeZone_listIdentifiers, 0, 0, IS_ARRAY, 0)
448 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, timezoneGroup, IS_LONG, 0, "DateTimeZone::ALL")
449 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, countryCode, IS_STRING, 1, "null")
451
452#define arginfo_class_DateTimeZone___serialize arginfo_timezone_abbreviations_list
453
454#define arginfo_class_DateTimeZone___unserialize arginfo_class_DateTimeInterface___unserialize
455
456#define arginfo_class_DateTimeZone___wakeup arginfo_class_DateTimeInterface___wakeup
457
458ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_INFO_EX(arginfo_class_DateTimeZone___set_state, 0, 1, DateTimeZone, 0)
459 ZEND_ARG_TYPE_INFO(0, array, IS_ARRAY, 0)
461
462ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DateInterval___construct, 0, 0, 1)
463 ZEND_ARG_TYPE_INFO(0, duration, IS_STRING, 0)
465
466ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_INFO_EX(arginfo_class_DateInterval_createFromDateString, 0, 1, DateInterval, 0)
467 ZEND_ARG_TYPE_INFO(0, datetime, IS_STRING, 0)
469
470#define arginfo_class_DateInterval_format arginfo_class_DateTimeInterface_format
471
472#define arginfo_class_DateInterval___serialize arginfo_timezone_abbreviations_list
473
474#define arginfo_class_DateInterval___unserialize arginfo_class_DateTimeInterface___unserialize
475
476#define arginfo_class_DateInterval___wakeup arginfo_class_DateTimeInterface___wakeup
477
478ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_INFO_EX(arginfo_class_DateInterval___set_state, 0, 1, DateInterval, 0)
479 ZEND_ARG_TYPE_INFO(0, array, IS_ARRAY, 0)
481
482ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_DatePeriod_createFromISO8601String, 0, 1, IS_STATIC, 0)
483 ZEND_ARG_TYPE_INFO(0, specification, IS_STRING, 0)
486
487ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DatePeriod___construct, 0, 0, 1)
489 ZEND_ARG_INFO(0, interval)
493
494ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_INFO_EX(arginfo_class_DatePeriod_getStartDate, 0, 0, DateTimeInterface, 0)
496
497ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_INFO_EX(arginfo_class_DatePeriod_getEndDate, 0, 0, DateTimeInterface, 1)
499
500ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_INFO_EX(arginfo_class_DatePeriod_getDateInterval, 0, 0, DateInterval, 0)
502
503ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DatePeriod_getRecurrences, 0, 0, IS_LONG, 1)
505
506#define arginfo_class_DatePeriod___serialize arginfo_timezone_abbreviations_list
507
508#define arginfo_class_DatePeriod___unserialize arginfo_class_DateTimeInterface___unserialize
509
510#define arginfo_class_DatePeriod___wakeup arginfo_class_DateTimeInterface___wakeup
511
512ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_INFO_EX(arginfo_class_DatePeriod___set_state, 0, 1, DatePeriod, 0)
513 ZEND_ARG_TYPE_INFO(0, array, IS_ARRAY, 0)
515
516ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_DatePeriod_getIterator, 0, 0, Iterator, 0)
518
538ZEND_FUNCTION(date_format);
561ZEND_FUNCTION(date_interval_format);
567ZEND_METHOD(DateTime, __construct);
568ZEND_METHOD(DateTime, __serialize);
569ZEND_METHOD(DateTime, __unserialize);
571ZEND_METHOD(DateTime, __set_state);
572ZEND_METHOD(DateTime, createFromImmutable);
573ZEND_METHOD(DateTime, createFromInterface);
574ZEND_METHOD(DateTime, createFromTimestamp);
577ZEND_METHOD(DateTime, getMicrosecond);
578ZEND_METHOD(DateTime, setMicrosecond);
584ZEND_METHOD(DateTimeImmutable, createFromTimestamp);
594ZEND_METHOD(DateTimeImmutable, createFromMutable);
595ZEND_METHOD(DateTimeImmutable, createFromInterface);
598ZEND_METHOD(DateTimeZone, __unserialize);
602ZEND_METHOD(DateInterval, createFromDateString);
604ZEND_METHOD(DateInterval, __unserialize);
607ZEND_METHOD(DatePeriod, createFromISO8601String);
609ZEND_METHOD(DatePeriod, getStartDate);
611ZEND_METHOD(DatePeriod, getDateInterval);
612ZEND_METHOD(DatePeriod, getRecurrences);
614ZEND_METHOD(DatePeriod, __unserialize);
618
619static const zend_function_entry ext_functions[] = {
620 ZEND_FE(strtotime, arginfo_strtotime)
621 ZEND_FE(date, arginfo_date)
622 ZEND_FE(idate, arginfo_idate)
624 ZEND_FE(mktime, arginfo_mktime)
626 ZEND_FE(checkdate, arginfo_checkdate)
627 ZEND_RAW_FENTRY("strftime", zif_strftime, arginfo_strftime, ZEND_ACC_DEPRECATED, NULL, NULL)
628 ZEND_RAW_FENTRY("gmstrftime", zif_gmstrftime, arginfo_gmstrftime, ZEND_ACC_DEPRECATED, NULL, NULL)
629 ZEND_FE(time, arginfo_time)
630 ZEND_FE(localtime, arginfo_localtime)
631 ZEND_FE(getdate, arginfo_getdate)
632 ZEND_FE(date_create, arginfo_date_create)
633 ZEND_FE(date_create_immutable, arginfo_date_create_immutable)
634 ZEND_FE(date_create_from_format, arginfo_date_create_from_format)
635 ZEND_FE(date_create_immutable_from_format, arginfo_date_create_immutable_from_format)
636 ZEND_FE(date_parse, arginfo_date_parse)
637 ZEND_FE(date_parse_from_format, arginfo_date_parse_from_format)
638 ZEND_FE(date_get_last_errors, arginfo_date_get_last_errors)
639 ZEND_FE(date_format, arginfo_date_format)
640 ZEND_FE(date_modify, arginfo_date_modify)
641 ZEND_FE(date_add, arginfo_date_add)
643 ZEND_FE(date_timezone_get, arginfo_date_timezone_get)
644 ZEND_FE(date_timezone_set, arginfo_date_timezone_set)
645 ZEND_FE(date_offset_get, arginfo_date_offset_get)
646 ZEND_FE(date_diff, arginfo_date_diff)
647 ZEND_FE(date_time_set, arginfo_date_time_set)
648 ZEND_FE(date_date_set, arginfo_date_date_set)
649 ZEND_FE(date_isodate_set, arginfo_date_isodate_set)
650 ZEND_FE(date_timestamp_set, arginfo_date_timestamp_set)
652 ZEND_FE(timezone_open, arginfo_timezone_open)
653 ZEND_FE(timezone_name_get, arginfo_timezone_name_get)
654 ZEND_FE(timezone_name_from_abbr, arginfo_timezone_name_from_abbr)
655 ZEND_FE(timezone_offset_get, arginfo_timezone_offset_get)
656 ZEND_FE(timezone_transitions_get, arginfo_timezone_transitions_get)
657 ZEND_FE(timezone_location_get, arginfo_timezone_location_get)
658 ZEND_FE(timezone_identifiers_list, arginfo_timezone_identifiers_list)
659 ZEND_FE(timezone_abbreviations_list, arginfo_timezone_abbreviations_list)
660 ZEND_FE(timezone_version_get, arginfo_timezone_version_get)
661 ZEND_FE(date_interval_create_from_date_string, arginfo_date_interval_create_from_date_string)
662 ZEND_FE(date_interval_format, arginfo_date_interval_format)
663 ZEND_FE(date_default_timezone_set, arginfo_date_default_timezone_set)
665 ZEND_RAW_FENTRY("date_sunrise", zif_date_sunrise, arginfo_date_sunrise, ZEND_ACC_DEPRECATED, NULL, NULL)
666 ZEND_RAW_FENTRY("date_sunset", zif_date_sunset, arginfo_date_sunset, ZEND_ACC_DEPRECATED, NULL, NULL)
667 ZEND_FE(date_sun_info, arginfo_date_sun_info)
669};
670
671static const zend_function_entry class_DateTimeInterface_methods[] = {
672 ZEND_RAW_FENTRY("format", NULL, arginfo_class_DateTimeInterface_format, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT, NULL, NULL)
673 ZEND_RAW_FENTRY("getTimezone", NULL, arginfo_class_DateTimeInterface_getTimezone, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT, NULL, NULL)
674 ZEND_RAW_FENTRY("getOffset", NULL, arginfo_class_DateTimeInterface_getOffset, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT, NULL, NULL)
677 ZEND_RAW_FENTRY("diff", NULL, arginfo_class_DateTimeInterface_diff, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT, NULL, NULL)
678 ZEND_RAW_FENTRY("__wakeup", NULL, arginfo_class_DateTimeInterface___wakeup, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT, NULL, NULL)
680 ZEND_RAW_FENTRY("__unserialize", NULL, arginfo_class_DateTimeInterface___unserialize, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT, NULL, NULL)
682};
683
684static const zend_function_entry class_DateTime_methods[] = {
685 ZEND_ME(DateTime, __construct, arginfo_class_DateTime___construct, ZEND_ACC_PUBLIC)
689 ZEND_ME(DateTime, __set_state, arginfo_class_DateTime___set_state, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
690 ZEND_ME(DateTime, createFromImmutable, arginfo_class_DateTime_createFromImmutable, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
691 ZEND_ME(DateTime, createFromInterface, arginfo_class_DateTime_createFromInterface, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
692 ZEND_RAW_FENTRY("createFromFormat", zif_date_create_from_format, arginfo_class_DateTime_createFromFormat, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC, NULL, NULL)
693 ZEND_ME(DateTime, createFromTimestamp, arginfo_class_DateTime_createFromTimestamp, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
694 ZEND_RAW_FENTRY("getLastErrors", zif_date_get_last_errors, arginfo_class_DateTime_getLastErrors, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC, NULL, NULL)
696 ZEND_ME(DateTime, modify, arginfo_class_DateTime_modify, ZEND_ACC_PUBLIC)
697 ZEND_RAW_FENTRY("add", zif_date_add, arginfo_class_DateTime_add, ZEND_ACC_PUBLIC, NULL, NULL)
699 ZEND_RAW_FENTRY("getTimezone", zif_date_timezone_get, arginfo_class_DateTime_getTimezone, ZEND_ACC_PUBLIC, NULL, NULL)
700 ZEND_RAW_FENTRY("setTimezone", zif_date_timezone_set, arginfo_class_DateTime_setTimezone, ZEND_ACC_PUBLIC, NULL, NULL)
701 ZEND_RAW_FENTRY("getOffset", zif_date_offset_get, arginfo_class_DateTime_getOffset, ZEND_ACC_PUBLIC, NULL, NULL)
703 ZEND_RAW_FENTRY("setTime", zif_date_time_set, arginfo_class_DateTime_setTime, ZEND_ACC_PUBLIC, NULL, NULL)
704 ZEND_RAW_FENTRY("setDate", zif_date_date_set, arginfo_class_DateTime_setDate, ZEND_ACC_PUBLIC, NULL, NULL)
705 ZEND_RAW_FENTRY("setISODate", zif_date_isodate_set, arginfo_class_DateTime_setISODate, ZEND_ACC_PUBLIC, NULL, NULL)
706 ZEND_RAW_FENTRY("setTimestamp", zif_date_timestamp_set, arginfo_class_DateTime_setTimestamp, ZEND_ACC_PUBLIC, NULL, NULL)
707 ZEND_ME(DateTime, setMicrosecond, arginfo_class_DateTime_setMicrosecond, ZEND_ACC_PUBLIC)
708 ZEND_RAW_FENTRY("getTimestamp", zif_date_timestamp_get, arginfo_class_DateTime_getTimestamp, ZEND_ACC_PUBLIC, NULL, NULL)
711};
712
713static const zend_function_entry class_DateTimeImmutable_methods[] = {
718 ZEND_ME(DateTimeImmutable, __set_state, arginfo_class_DateTimeImmutable___set_state, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
719 ZEND_RAW_FENTRY("createFromFormat", zif_date_create_immutable_from_format, arginfo_class_DateTimeImmutable_createFromFormat, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC, NULL, NULL)
726 ZEND_RAW_FENTRY("getMicrosecond", zim_DateTime_getMicrosecond, arginfo_class_DateTimeImmutable_getMicrosecond, ZEND_ACC_PUBLIC, NULL, NULL)
728 ZEND_ME(DateTimeImmutable, modify, arginfo_class_DateTimeImmutable_modify, ZEND_ACC_PUBLIC)
729 ZEND_ME(DateTimeImmutable, add, arginfo_class_DateTimeImmutable_add, ZEND_ACC_PUBLIC)
731 ZEND_ME(DateTimeImmutable, setTimezone, arginfo_class_DateTimeImmutable_setTimezone, ZEND_ACC_PUBLIC)
732 ZEND_ME(DateTimeImmutable, setTime, arginfo_class_DateTimeImmutable_setTime, ZEND_ACC_PUBLIC)
733 ZEND_ME(DateTimeImmutable, setDate, arginfo_class_DateTimeImmutable_setDate, ZEND_ACC_PUBLIC)
734 ZEND_ME(DateTimeImmutable, setISODate, arginfo_class_DateTimeImmutable_setISODate, ZEND_ACC_PUBLIC)
735 ZEND_ME(DateTimeImmutable, setTimestamp, arginfo_class_DateTimeImmutable_setTimestamp, ZEND_ACC_PUBLIC)
737 ZEND_ME(DateTimeImmutable, createFromMutable, arginfo_class_DateTimeImmutable_createFromMutable, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
738 ZEND_ME(DateTimeImmutable, createFromInterface, arginfo_class_DateTimeImmutable_createFromInterface, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
740};
741
742static const zend_function_entry class_DateTimeZone_methods[] = {
743 ZEND_ME(DateTimeZone, __construct, arginfo_class_DateTimeZone___construct, ZEND_ACC_PUBLIC)
744 ZEND_RAW_FENTRY("getName", zif_timezone_name_get, arginfo_class_DateTimeZone_getName, ZEND_ACC_PUBLIC, NULL, NULL)
745 ZEND_RAW_FENTRY("getOffset", zif_timezone_offset_get, arginfo_class_DateTimeZone_getOffset, ZEND_ACC_PUBLIC, NULL, NULL)
746 ZEND_RAW_FENTRY("getTransitions", zif_timezone_transitions_get, arginfo_class_DateTimeZone_getTransitions, ZEND_ACC_PUBLIC, NULL, NULL)
747 ZEND_RAW_FENTRY("getLocation", zif_timezone_location_get, arginfo_class_DateTimeZone_getLocation, ZEND_ACC_PUBLIC, NULL, NULL)
748 ZEND_RAW_FENTRY("listAbbreviations", zif_timezone_abbreviations_list, arginfo_class_DateTimeZone_listAbbreviations, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC, NULL, NULL)
749 ZEND_RAW_FENTRY("listIdentifiers", zif_timezone_identifiers_list, arginfo_class_DateTimeZone_listIdentifiers, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC, NULL, NULL)
753 ZEND_ME(DateTimeZone, __set_state, arginfo_class_DateTimeZone___set_state, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
755};
756
757static const zend_function_entry class_DateInterval_methods[] = {
758 ZEND_ME(DateInterval, __construct, arginfo_class_DateInterval___construct, ZEND_ACC_PUBLIC)
759 ZEND_ME(DateInterval, createFromDateString, arginfo_class_DateInterval_createFromDateString, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
760 ZEND_RAW_FENTRY("format", zif_date_interval_format, arginfo_class_DateInterval_format, ZEND_ACC_PUBLIC, NULL, NULL)
764 ZEND_ME(DateInterval, __set_state, arginfo_class_DateInterval___set_state, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
766};
767
768static const zend_function_entry class_DatePeriod_methods[] = {
769 ZEND_ME(DatePeriod, createFromISO8601String, arginfo_class_DatePeriod_createFromISO8601String, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
770 ZEND_ME(DatePeriod, __construct, arginfo_class_DatePeriod___construct, ZEND_ACC_PUBLIC)
771 ZEND_ME(DatePeriod, getStartDate, arginfo_class_DatePeriod_getStartDate, ZEND_ACC_PUBLIC)
772 ZEND_ME(DatePeriod, getEndDate, arginfo_class_DatePeriod_getEndDate, ZEND_ACC_PUBLIC)
773 ZEND_ME(DatePeriod, getDateInterval, arginfo_class_DatePeriod_getDateInterval, ZEND_ACC_PUBLIC)
774 ZEND_ME(DatePeriod, getRecurrences, arginfo_class_DatePeriod_getRecurrences, ZEND_ACC_PUBLIC)
778 ZEND_ME(DatePeriod, __set_state, arginfo_class_DatePeriod___set_state, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
779 ZEND_ME(DatePeriod, getIterator, arginfo_class_DatePeriod_getIterator, ZEND_ACC_PUBLIC)
781};
782
783static void register_php_date_symbols(int module_number)
784{
786 ZEND_ASSERT(strcmp(DATE_FORMAT_RFC3339, "Y-m-d\\TH:i:sP") == 0);
788 ZEND_ASSERT(strcmp(DATE_FORMAT_COOKIE, "l, d-M-Y H:i:s T") == 0);
790 ZEND_ASSERT(strcmp(DATE_FORMAT_ISO8601, "Y-m-d\\TH:i:sO") == 0);
792 ZEND_ASSERT(strcmp(DATE_FORMAT_ISO8601_EXPANDED, "X-m-d\\TH:i:sP") == 0);
794 ZEND_ASSERT(strcmp(DATE_FORMAT_RFC822, "D, d M y H:i:s O") == 0);
796 ZEND_ASSERT(strcmp(DATE_FORMAT_RFC850, "l, d-M-y H:i:s T") == 0);
798 ZEND_ASSERT(strcmp(DATE_FORMAT_RFC1036, "D, d M y H:i:s O") == 0);
800 ZEND_ASSERT(strcmp(DATE_FORMAT_RFC1123, "D, d M Y H:i:s O") == 0);
802 ZEND_ASSERT(strcmp(DATE_FORMAT_RFC7231, "D, d M Y H:i:s \\G\\M\\T") == 0);
804 ZEND_ASSERT(strcmp(DATE_FORMAT_RFC2822, "D, d M Y H:i:s O") == 0);
806 ZEND_ASSERT(strcmp(DATE_FORMAT_RFC3339, "Y-m-d\\TH:i:sP") == 0);
808 ZEND_ASSERT(strcmp(DATE_FORMAT_RFC3339_EXTENDED, "Y-m-d\\TH:i:s.vP") == 0);
814
815
816 zend_attribute *attribute_Deprecated_func_strftime_0 = zend_add_function_attribute(zend_hash_str_find_ptr(CG(function_table), "strftime", sizeof("strftime") - 1), ZSTR_KNOWN(ZEND_STR_DEPRECATED_CAPITALIZED), 2);
817 zval attribute_Deprecated_func_strftime_0_arg0;
818 zend_string *attribute_Deprecated_func_strftime_0_arg0_str = zend_string_init("8.1", strlen("8.1"), 1);
819 ZVAL_STR(&attribute_Deprecated_func_strftime_0_arg0, attribute_Deprecated_func_strftime_0_arg0_str);
820 ZVAL_COPY_VALUE(&attribute_Deprecated_func_strftime_0->args[0].value, &attribute_Deprecated_func_strftime_0_arg0);
821 attribute_Deprecated_func_strftime_0->args[0].name = ZSTR_KNOWN(ZEND_STR_SINCE);
822 zval attribute_Deprecated_func_strftime_0_arg1;
823 zend_string *attribute_Deprecated_func_strftime_0_arg1_str = zend_string_init("use IntlDateFormatter::format() instead", strlen("use IntlDateFormatter::format() instead"), 1);
824 ZVAL_STR(&attribute_Deprecated_func_strftime_0_arg1, attribute_Deprecated_func_strftime_0_arg1_str);
825 ZVAL_COPY_VALUE(&attribute_Deprecated_func_strftime_0->args[1].value, &attribute_Deprecated_func_strftime_0_arg1);
826 attribute_Deprecated_func_strftime_0->args[1].name = ZSTR_KNOWN(ZEND_STR_MESSAGE);
827
828 zend_attribute *attribute_Deprecated_func_gmstrftime_0 = zend_add_function_attribute(zend_hash_str_find_ptr(CG(function_table), "gmstrftime", sizeof("gmstrftime") - 1), ZSTR_KNOWN(ZEND_STR_DEPRECATED_CAPITALIZED), 2);
829 zval attribute_Deprecated_func_gmstrftime_0_arg0;
830 zend_string *attribute_Deprecated_func_gmstrftime_0_arg0_str = zend_string_init("8.1", strlen("8.1"), 1);
831 ZVAL_STR(&attribute_Deprecated_func_gmstrftime_0_arg0, attribute_Deprecated_func_gmstrftime_0_arg0_str);
832 ZVAL_COPY_VALUE(&attribute_Deprecated_func_gmstrftime_0->args[0].value, &attribute_Deprecated_func_gmstrftime_0_arg0);
833 attribute_Deprecated_func_gmstrftime_0->args[0].name = ZSTR_KNOWN(ZEND_STR_SINCE);
834 zval attribute_Deprecated_func_gmstrftime_0_arg1;
835 zend_string *attribute_Deprecated_func_gmstrftime_0_arg1_str = zend_string_init("use IntlDateFormatter::format() instead", strlen("use IntlDateFormatter::format() instead"), 1);
836 ZVAL_STR(&attribute_Deprecated_func_gmstrftime_0_arg1, attribute_Deprecated_func_gmstrftime_0_arg1_str);
837 ZVAL_COPY_VALUE(&attribute_Deprecated_func_gmstrftime_0->args[1].value, &attribute_Deprecated_func_gmstrftime_0_arg1);
838 attribute_Deprecated_func_gmstrftime_0->args[1].name = ZSTR_KNOWN(ZEND_STR_MESSAGE);
839
840 zend_attribute *attribute_Deprecated_func_date_sunrise_0 = zend_add_function_attribute(zend_hash_str_find_ptr(CG(function_table), "date_sunrise", sizeof("date_sunrise") - 1), ZSTR_KNOWN(ZEND_STR_DEPRECATED_CAPITALIZED), 2);
841 zval attribute_Deprecated_func_date_sunrise_0_arg0;
842 zend_string *attribute_Deprecated_func_date_sunrise_0_arg0_str = zend_string_init("8.1", strlen("8.1"), 1);
843 ZVAL_STR(&attribute_Deprecated_func_date_sunrise_0_arg0, attribute_Deprecated_func_date_sunrise_0_arg0_str);
844 ZVAL_COPY_VALUE(&attribute_Deprecated_func_date_sunrise_0->args[0].value, &attribute_Deprecated_func_date_sunrise_0_arg0);
845 attribute_Deprecated_func_date_sunrise_0->args[0].name = ZSTR_KNOWN(ZEND_STR_SINCE);
846 zval attribute_Deprecated_func_date_sunrise_0_arg1;
847 zend_string *attribute_Deprecated_func_date_sunrise_0_arg1_str = zend_string_init("use date_sun_info() instead", strlen("use date_sun_info() instead"), 1);
848 ZVAL_STR(&attribute_Deprecated_func_date_sunrise_0_arg1, attribute_Deprecated_func_date_sunrise_0_arg1_str);
849 ZVAL_COPY_VALUE(&attribute_Deprecated_func_date_sunrise_0->args[1].value, &attribute_Deprecated_func_date_sunrise_0_arg1);
850 attribute_Deprecated_func_date_sunrise_0->args[1].name = ZSTR_KNOWN(ZEND_STR_MESSAGE);
851
852 zend_attribute *attribute_Deprecated_func_date_sunset_0 = zend_add_function_attribute(zend_hash_str_find_ptr(CG(function_table), "date_sunset", sizeof("date_sunset") - 1), ZSTR_KNOWN(ZEND_STR_DEPRECATED_CAPITALIZED), 2);
853 zval attribute_Deprecated_func_date_sunset_0_arg0;
854 zend_string *attribute_Deprecated_func_date_sunset_0_arg0_str = zend_string_init("8.1", strlen("8.1"), 1);
855 ZVAL_STR(&attribute_Deprecated_func_date_sunset_0_arg0, attribute_Deprecated_func_date_sunset_0_arg0_str);
856 ZVAL_COPY_VALUE(&attribute_Deprecated_func_date_sunset_0->args[0].value, &attribute_Deprecated_func_date_sunset_0_arg0);
857 attribute_Deprecated_func_date_sunset_0->args[0].name = ZSTR_KNOWN(ZEND_STR_SINCE);
858 zval attribute_Deprecated_func_date_sunset_0_arg1;
859 zend_string *attribute_Deprecated_func_date_sunset_0_arg1_str = zend_string_init("use date_sun_info() instead", strlen("use date_sun_info() instead"), 1);
860 ZVAL_STR(&attribute_Deprecated_func_date_sunset_0_arg1, attribute_Deprecated_func_date_sunset_0_arg1_str);
861 ZVAL_COPY_VALUE(&attribute_Deprecated_func_date_sunset_0->args[1].value, &attribute_Deprecated_func_date_sunset_0_arg1);
862 attribute_Deprecated_func_date_sunset_0->args[1].name = ZSTR_KNOWN(ZEND_STR_MESSAGE);
863}
864
865static zend_class_entry *register_class_DateTimeInterface(void)
866{
867 zend_class_entry ce, *class_entry;
868
869 INIT_CLASS_ENTRY(ce, "DateTimeInterface", class_DateTimeInterface_methods);
870 class_entry = zend_register_internal_interface(&ce);
871
872 zval const_ATOM_value;
873 zend_string *const_ATOM_value_str = zend_string_init(DATE_FORMAT_RFC3339, strlen(DATE_FORMAT_RFC3339), 1);
874 ZVAL_STR(&const_ATOM_value, const_ATOM_value_str);
875 zend_string *const_ATOM_name = zend_string_init_interned("ATOM", sizeof("ATOM") - 1, 1);
876 zend_declare_typed_class_constant(class_entry, const_ATOM_name, &const_ATOM_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
877 zend_string_release(const_ATOM_name);
878
879 zval const_COOKIE_value;
880 zend_string *const_COOKIE_value_str = zend_string_init(DATE_FORMAT_COOKIE, strlen(DATE_FORMAT_COOKIE), 1);
881 ZVAL_STR(&const_COOKIE_value, const_COOKIE_value_str);
882 zend_string *const_COOKIE_name = zend_string_init_interned("COOKIE", sizeof("COOKIE") - 1, 1);
883 zend_declare_typed_class_constant(class_entry, const_COOKIE_name, &const_COOKIE_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
884 zend_string_release(const_COOKIE_name);
885
886 zval const_ISO8601_value;
887 zend_string *const_ISO8601_value_str = zend_string_init(DATE_FORMAT_ISO8601, strlen(DATE_FORMAT_ISO8601), 1);
888 ZVAL_STR(&const_ISO8601_value, const_ISO8601_value_str);
889 zend_string *const_ISO8601_name = zend_string_init_interned("ISO8601", sizeof("ISO8601") - 1, 1);
890 zend_declare_typed_class_constant(class_entry, const_ISO8601_name, &const_ISO8601_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
891 zend_string_release(const_ISO8601_name);
892
893 zval const_ISO8601_EXPANDED_value;
894 zend_string *const_ISO8601_EXPANDED_value_str = zend_string_init(DATE_FORMAT_ISO8601_EXPANDED, strlen(DATE_FORMAT_ISO8601_EXPANDED), 1);
895 ZVAL_STR(&const_ISO8601_EXPANDED_value, const_ISO8601_EXPANDED_value_str);
896 zend_string *const_ISO8601_EXPANDED_name = zend_string_init_interned("ISO8601_EXPANDED", sizeof("ISO8601_EXPANDED") - 1, 1);
897 zend_declare_typed_class_constant(class_entry, const_ISO8601_EXPANDED_name, &const_ISO8601_EXPANDED_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
898 zend_string_release(const_ISO8601_EXPANDED_name);
899
900 zval const_RFC822_value;
901 zend_string *const_RFC822_value_str = zend_string_init(DATE_FORMAT_RFC822, strlen(DATE_FORMAT_RFC822), 1);
902 ZVAL_STR(&const_RFC822_value, const_RFC822_value_str);
903 zend_string *const_RFC822_name = zend_string_init_interned("RFC822", sizeof("RFC822") - 1, 1);
904 zend_declare_typed_class_constant(class_entry, const_RFC822_name, &const_RFC822_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
905 zend_string_release(const_RFC822_name);
906
907 zval const_RFC850_value;
908 zend_string *const_RFC850_value_str = zend_string_init(DATE_FORMAT_RFC850, strlen(DATE_FORMAT_RFC850), 1);
909 ZVAL_STR(&const_RFC850_value, const_RFC850_value_str);
910 zend_string *const_RFC850_name = zend_string_init_interned("RFC850", sizeof("RFC850") - 1, 1);
911 zend_declare_typed_class_constant(class_entry, const_RFC850_name, &const_RFC850_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
912 zend_string_release(const_RFC850_name);
913
914 zval const_RFC1036_value;
915 zend_string *const_RFC1036_value_str = zend_string_init(DATE_FORMAT_RFC1036, strlen(DATE_FORMAT_RFC1036), 1);
916 ZVAL_STR(&const_RFC1036_value, const_RFC1036_value_str);
917 zend_string *const_RFC1036_name = zend_string_init_interned("RFC1036", sizeof("RFC1036") - 1, 1);
918 zend_declare_typed_class_constant(class_entry, const_RFC1036_name, &const_RFC1036_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
919 zend_string_release(const_RFC1036_name);
920
921 zval const_RFC1123_value;
922 zend_string *const_RFC1123_value_str = zend_string_init(DATE_FORMAT_RFC1123, strlen(DATE_FORMAT_RFC1123), 1);
923 ZVAL_STR(&const_RFC1123_value, const_RFC1123_value_str);
924 zend_string *const_RFC1123_name = zend_string_init_interned("RFC1123", sizeof("RFC1123") - 1, 1);
925 zend_declare_typed_class_constant(class_entry, const_RFC1123_name, &const_RFC1123_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
926 zend_string_release(const_RFC1123_name);
927
928 zval const_RFC7231_value;
929 zend_string *const_RFC7231_value_str = zend_string_init(DATE_FORMAT_RFC7231, strlen(DATE_FORMAT_RFC7231), 1);
930 ZVAL_STR(&const_RFC7231_value, const_RFC7231_value_str);
931 zend_string *const_RFC7231_name = zend_string_init_interned("RFC7231", sizeof("RFC7231") - 1, 1);
932 zend_declare_typed_class_constant(class_entry, const_RFC7231_name, &const_RFC7231_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
933 zend_string_release(const_RFC7231_name);
934
935 zval const_RFC2822_value;
936 zend_string *const_RFC2822_value_str = zend_string_init(DATE_FORMAT_RFC2822, strlen(DATE_FORMAT_RFC2822), 1);
937 ZVAL_STR(&const_RFC2822_value, const_RFC2822_value_str);
938 zend_string *const_RFC2822_name = zend_string_init_interned("RFC2822", sizeof("RFC2822") - 1, 1);
939 zend_declare_typed_class_constant(class_entry, const_RFC2822_name, &const_RFC2822_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
940 zend_string_release(const_RFC2822_name);
941
942 zval const_RFC3339_value;
943 zend_string *const_RFC3339_value_str = zend_string_init(DATE_FORMAT_RFC3339, strlen(DATE_FORMAT_RFC3339), 1);
944 ZVAL_STR(&const_RFC3339_value, const_RFC3339_value_str);
945 zend_string *const_RFC3339_name = zend_string_init_interned("RFC3339", sizeof("RFC3339") - 1, 1);
946 zend_declare_typed_class_constant(class_entry, const_RFC3339_name, &const_RFC3339_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
947 zend_string_release(const_RFC3339_name);
948
949 zval const_RFC3339_EXTENDED_value;
950 zend_string *const_RFC3339_EXTENDED_value_str = zend_string_init(DATE_FORMAT_RFC3339_EXTENDED, strlen(DATE_FORMAT_RFC3339_EXTENDED), 1);
951 ZVAL_STR(&const_RFC3339_EXTENDED_value, const_RFC3339_EXTENDED_value_str);
952 zend_string *const_RFC3339_EXTENDED_name = zend_string_init_interned("RFC3339_EXTENDED", sizeof("RFC3339_EXTENDED") - 1, 1);
953 zend_declare_typed_class_constant(class_entry, const_RFC3339_EXTENDED_name, &const_RFC3339_EXTENDED_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
954 zend_string_release(const_RFC3339_EXTENDED_name);
955
956 zval const_RSS_value;
957 zend_string *const_RSS_value_str = zend_string_init(DATE_FORMAT_RFC1123, strlen(DATE_FORMAT_RFC1123), 1);
958 ZVAL_STR(&const_RSS_value, const_RSS_value_str);
959 zend_string *const_RSS_name = zend_string_init_interned("RSS", sizeof("RSS") - 1, 1);
960 zend_declare_typed_class_constant(class_entry, const_RSS_name, &const_RSS_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
961 zend_string_release(const_RSS_name);
962
963 zval const_W3C_value;
964 zend_string *const_W3C_value_str = zend_string_init(DATE_FORMAT_RFC3339, strlen(DATE_FORMAT_RFC3339), 1);
965 ZVAL_STR(&const_W3C_value, const_W3C_value_str);
966 zend_string *const_W3C_name = zend_string_init_interned("W3C", sizeof("W3C") - 1, 1);
967 zend_declare_typed_class_constant(class_entry, const_W3C_name, &const_W3C_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
968 zend_string_release(const_W3C_name);
969
970 return class_entry;
971}
972
973static zend_class_entry *register_class_DateTime(zend_class_entry *class_entry_DateTimeInterface)
974{
975 zend_class_entry ce, *class_entry;
976
977 INIT_CLASS_ENTRY(ce, "DateTime", class_DateTime_methods);
978 class_entry = zend_register_internal_class_with_flags(&ce, NULL, 0);
979 zend_class_implements(class_entry, 1, class_entry_DateTimeInterface);
980
981 return class_entry;
982}
983
984static zend_class_entry *register_class_DateTimeImmutable(zend_class_entry *class_entry_DateTimeInterface)
985{
986 zend_class_entry ce, *class_entry;
987
988 INIT_CLASS_ENTRY(ce, "DateTimeImmutable", class_DateTimeImmutable_methods);
989 class_entry = zend_register_internal_class_with_flags(&ce, NULL, 0);
990 zend_class_implements(class_entry, 1, class_entry_DateTimeInterface);
991
992 return class_entry;
993}
994
995static zend_class_entry *register_class_DateTimeZone(void)
996{
997 zend_class_entry ce, *class_entry;
998
999 INIT_CLASS_ENTRY(ce, "DateTimeZone", class_DateTimeZone_methods);
1000 class_entry = zend_register_internal_class_with_flags(&ce, NULL, 0);
1001
1002 zval const_AFRICA_value;
1003 ZVAL_LONG(&const_AFRICA_value, PHP_DATE_TIMEZONE_GROUP_AFRICA);
1004 zend_string *const_AFRICA_name = zend_string_init_interned("AFRICA", sizeof("AFRICA") - 1, 1);
1005 zend_declare_typed_class_constant(class_entry, const_AFRICA_name, &const_AFRICA_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1006 zend_string_release(const_AFRICA_name);
1007
1008 zval const_AMERICA_value;
1009 ZVAL_LONG(&const_AMERICA_value, PHP_DATE_TIMEZONE_GROUP_AMERICA);
1010 zend_string *const_AMERICA_name = zend_string_init_interned("AMERICA", sizeof("AMERICA") - 1, 1);
1011 zend_declare_typed_class_constant(class_entry, const_AMERICA_name, &const_AMERICA_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1012 zend_string_release(const_AMERICA_name);
1013
1014 zval const_ANTARCTICA_value;
1015 ZVAL_LONG(&const_ANTARCTICA_value, PHP_DATE_TIMEZONE_GROUP_ANTARCTICA);
1016 zend_string *const_ANTARCTICA_name = zend_string_init_interned("ANTARCTICA", sizeof("ANTARCTICA") - 1, 1);
1017 zend_declare_typed_class_constant(class_entry, const_ANTARCTICA_name, &const_ANTARCTICA_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1018 zend_string_release(const_ANTARCTICA_name);
1019
1020 zval const_ARCTIC_value;
1021 ZVAL_LONG(&const_ARCTIC_value, PHP_DATE_TIMEZONE_GROUP_ARCTIC);
1022 zend_string *const_ARCTIC_name = zend_string_init_interned("ARCTIC", sizeof("ARCTIC") - 1, 1);
1023 zend_declare_typed_class_constant(class_entry, const_ARCTIC_name, &const_ARCTIC_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1024 zend_string_release(const_ARCTIC_name);
1025
1026 zval const_ASIA_value;
1027 ZVAL_LONG(&const_ASIA_value, PHP_DATE_TIMEZONE_GROUP_ASIA);
1028 zend_string *const_ASIA_name = zend_string_init_interned("ASIA", sizeof("ASIA") - 1, 1);
1029 zend_declare_typed_class_constant(class_entry, const_ASIA_name, &const_ASIA_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1030 zend_string_release(const_ASIA_name);
1031
1032 zval const_ATLANTIC_value;
1033 ZVAL_LONG(&const_ATLANTIC_value, PHP_DATE_TIMEZONE_GROUP_ATLANTIC);
1034 zend_string *const_ATLANTIC_name = zend_string_init_interned("ATLANTIC", sizeof("ATLANTIC") - 1, 1);
1035 zend_declare_typed_class_constant(class_entry, const_ATLANTIC_name, &const_ATLANTIC_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1036 zend_string_release(const_ATLANTIC_name);
1037
1038 zval const_AUSTRALIA_value;
1039 ZVAL_LONG(&const_AUSTRALIA_value, PHP_DATE_TIMEZONE_GROUP_AUSTRALIA);
1040 zend_string *const_AUSTRALIA_name = zend_string_init_interned("AUSTRALIA", sizeof("AUSTRALIA") - 1, 1);
1041 zend_declare_typed_class_constant(class_entry, const_AUSTRALIA_name, &const_AUSTRALIA_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1042 zend_string_release(const_AUSTRALIA_name);
1043
1044 zval const_EUROPE_value;
1045 ZVAL_LONG(&const_EUROPE_value, PHP_DATE_TIMEZONE_GROUP_EUROPE);
1046 zend_string *const_EUROPE_name = zend_string_init_interned("EUROPE", sizeof("EUROPE") - 1, 1);
1047 zend_declare_typed_class_constant(class_entry, const_EUROPE_name, &const_EUROPE_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1048 zend_string_release(const_EUROPE_name);
1049
1050 zval const_INDIAN_value;
1051 ZVAL_LONG(&const_INDIAN_value, PHP_DATE_TIMEZONE_GROUP_INDIAN);
1052 zend_string *const_INDIAN_name = zend_string_init_interned("INDIAN", sizeof("INDIAN") - 1, 1);
1053 zend_declare_typed_class_constant(class_entry, const_INDIAN_name, &const_INDIAN_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1054 zend_string_release(const_INDIAN_name);
1055
1056 zval const_PACIFIC_value;
1057 ZVAL_LONG(&const_PACIFIC_value, PHP_DATE_TIMEZONE_GROUP_PACIFIC);
1058 zend_string *const_PACIFIC_name = zend_string_init_interned("PACIFIC", sizeof("PACIFIC") - 1, 1);
1059 zend_declare_typed_class_constant(class_entry, const_PACIFIC_name, &const_PACIFIC_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1060 zend_string_release(const_PACIFIC_name);
1061
1062 zval const_UTC_value;
1063 ZVAL_LONG(&const_UTC_value, PHP_DATE_TIMEZONE_GROUP_UTC);
1064 zend_string *const_UTC_name = zend_string_init_interned("UTC", sizeof("UTC") - 1, 1);
1065 zend_declare_typed_class_constant(class_entry, const_UTC_name, &const_UTC_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1066 zend_string_release(const_UTC_name);
1067
1068 zval const_ALL_value;
1069 ZVAL_LONG(&const_ALL_value, PHP_DATE_TIMEZONE_GROUP_ALL);
1070 zend_string *const_ALL_name = zend_string_init_interned("ALL", sizeof("ALL") - 1, 1);
1071 zend_declare_typed_class_constant(class_entry, const_ALL_name, &const_ALL_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1072 zend_string_release(const_ALL_name);
1073
1074 zval const_ALL_WITH_BC_value;
1075 ZVAL_LONG(&const_ALL_WITH_BC_value, PHP_DATE_TIMEZONE_GROUP_ALL_W_BC);
1076 zend_string *const_ALL_WITH_BC_name = zend_string_init_interned("ALL_WITH_BC", sizeof("ALL_WITH_BC") - 1, 1);
1077 zend_declare_typed_class_constant(class_entry, const_ALL_WITH_BC_name, &const_ALL_WITH_BC_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1078 zend_string_release(const_ALL_WITH_BC_name);
1079
1080 zval const_PER_COUNTRY_value;
1081 ZVAL_LONG(&const_PER_COUNTRY_value, PHP_DATE_TIMEZONE_PER_COUNTRY);
1082 zend_string *const_PER_COUNTRY_name = zend_string_init_interned("PER_COUNTRY", sizeof("PER_COUNTRY") - 1, 1);
1083 zend_declare_typed_class_constant(class_entry, const_PER_COUNTRY_name, &const_PER_COUNTRY_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1084 zend_string_release(const_PER_COUNTRY_name);
1085
1086 return class_entry;
1087}
1088
1089static zend_class_entry *register_class_DateInterval(void)
1090{
1091 zend_class_entry ce, *class_entry;
1092
1093 INIT_CLASS_ENTRY(ce, "DateInterval", class_DateInterval_methods);
1094 class_entry = zend_register_internal_class_with_flags(&ce, NULL, 0);
1095
1096 return class_entry;
1097}
1098
1099static zend_class_entry *register_class_DatePeriod(zend_class_entry *class_entry_IteratorAggregate)
1100{
1101 zend_class_entry ce, *class_entry;
1102
1103 INIT_CLASS_ENTRY(ce, "DatePeriod", class_DatePeriod_methods);
1104 class_entry = zend_register_internal_class_with_flags(&ce, NULL, 0);
1105 zend_class_implements(class_entry, 1, class_entry_IteratorAggregate);
1106
1107 zval const_EXCLUDE_START_DATE_value;
1108 ZVAL_LONG(&const_EXCLUDE_START_DATE_value, PHP_DATE_PERIOD_EXCLUDE_START_DATE);
1109 zend_string *const_EXCLUDE_START_DATE_name = zend_string_init_interned("EXCLUDE_START_DATE", sizeof("EXCLUDE_START_DATE") - 1, 1);
1110 zend_declare_typed_class_constant(class_entry, const_EXCLUDE_START_DATE_name, &const_EXCLUDE_START_DATE_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1111 zend_string_release(const_EXCLUDE_START_DATE_name);
1112
1113 zval const_INCLUDE_END_DATE_value;
1114 ZVAL_LONG(&const_INCLUDE_END_DATE_value, PHP_DATE_PERIOD_INCLUDE_END_DATE);
1115 zend_string *const_INCLUDE_END_DATE_name = zend_string_init_interned("INCLUDE_END_DATE", sizeof("INCLUDE_END_DATE") - 1, 1);
1116 zend_declare_typed_class_constant(class_entry, const_INCLUDE_END_DATE_name, &const_INCLUDE_END_DATE_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1117 zend_string_release(const_INCLUDE_END_DATE_name);
1118
1119 zval property_start_default_value;
1120 ZVAL_UNDEF(&property_start_default_value);
1121 zend_string *property_start_name = zend_string_init("start", sizeof("start") - 1, 1);
1122 zend_string *property_start_class_DateTimeInterface = zend_string_init("DateTimeInterface", sizeof("DateTimeInterface")-1, 1);
1123 zend_declare_typed_property(class_entry, property_start_name, &property_start_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_start_class_DateTimeInterface, 0, MAY_BE_NULL));
1124 zend_string_release(property_start_name);
1125
1126 zval property_current_default_value;
1127 ZVAL_UNDEF(&property_current_default_value);
1128 zend_string *property_current_name = zend_string_init("current", sizeof("current") - 1, 1);
1129 zend_string *property_current_class_DateTimeInterface = zend_string_init("DateTimeInterface", sizeof("DateTimeInterface")-1, 1);
1130 zend_declare_typed_property(class_entry, property_current_name, &property_current_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_current_class_DateTimeInterface, 0, MAY_BE_NULL));
1131 zend_string_release(property_current_name);
1132
1133 zval property_end_default_value;
1134 ZVAL_UNDEF(&property_end_default_value);
1135 zend_string *property_end_name = zend_string_init("end", sizeof("end") - 1, 1);
1136 zend_string *property_end_class_DateTimeInterface = zend_string_init("DateTimeInterface", sizeof("DateTimeInterface")-1, 1);
1137 zend_declare_typed_property(class_entry, property_end_name, &property_end_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_end_class_DateTimeInterface, 0, MAY_BE_NULL));
1138 zend_string_release(property_end_name);
1139
1140 zval property_interval_default_value;
1141 ZVAL_UNDEF(&property_interval_default_value);
1142 zend_string *property_interval_name = zend_string_init("interval", sizeof("interval") - 1, 1);
1143 zend_string *property_interval_class_DateInterval = zend_string_init("DateInterval", sizeof("DateInterval")-1, 1);
1144 zend_declare_typed_property(class_entry, property_interval_name, &property_interval_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_interval_class_DateInterval, 0, MAY_BE_NULL));
1145 zend_string_release(property_interval_name);
1146
1147 zval property_recurrences_default_value;
1148 ZVAL_UNDEF(&property_recurrences_default_value);
1149 zend_string *property_recurrences_name = zend_string_init("recurrences", sizeof("recurrences") - 1, 1);
1150 zend_declare_typed_property(class_entry, property_recurrences_name, &property_recurrences_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1151 zend_string_release(property_recurrences_name);
1152
1153 zval property_include_start_date_default_value;
1154 ZVAL_UNDEF(&property_include_start_date_default_value);
1155 zend_string *property_include_start_date_name = zend_string_init("include_start_date", sizeof("include_start_date") - 1, 1);
1156 zend_declare_typed_property(class_entry, property_include_start_date_name, &property_include_start_date_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
1157 zend_string_release(property_include_start_date_name);
1158
1159 zval property_include_end_date_default_value;
1160 ZVAL_UNDEF(&property_include_end_date_default_value);
1161 zend_string *property_include_end_date_name = zend_string_init("include_end_date", sizeof("include_end_date") - 1, 1);
1162 zend_declare_typed_property(class_entry, property_include_end_date_name, &property_include_end_date_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
1163 zend_string_release(property_include_end_date_name);
1164
1165 return class_entry;
1166}
1167
1168static zend_class_entry *register_class_DateError(zend_class_entry *class_entry_Error)
1169{
1170 zend_class_entry ce, *class_entry;
1171
1172 INIT_CLASS_ENTRY(ce, "DateError", NULL);
1173 class_entry = zend_register_internal_class_with_flags(&ce, class_entry_Error, ZEND_ACC_NO_DYNAMIC_PROPERTIES);
1174
1175 return class_entry;
1176}
1177
1178static zend_class_entry *register_class_DateObjectError(zend_class_entry *class_entry_DateError)
1179{
1180 zend_class_entry ce, *class_entry;
1181
1182 INIT_CLASS_ENTRY(ce, "DateObjectError", NULL);
1183 class_entry = zend_register_internal_class_with_flags(&ce, class_entry_DateError, ZEND_ACC_NO_DYNAMIC_PROPERTIES);
1184
1185 return class_entry;
1186}
1187
1188static zend_class_entry *register_class_DateRangeError(zend_class_entry *class_entry_DateError)
1189{
1190 zend_class_entry ce, *class_entry;
1191
1192 INIT_CLASS_ENTRY(ce, "DateRangeError", NULL);
1193 class_entry = zend_register_internal_class_with_flags(&ce, class_entry_DateError, ZEND_ACC_NO_DYNAMIC_PROPERTIES);
1194
1195 return class_entry;
1196}
1197
1198static zend_class_entry *register_class_DateException(zend_class_entry *class_entry_Exception)
1199{
1200 zend_class_entry ce, *class_entry;
1201
1202 INIT_CLASS_ENTRY(ce, "DateException", NULL);
1203 class_entry = zend_register_internal_class_with_flags(&ce, class_entry_Exception, ZEND_ACC_NO_DYNAMIC_PROPERTIES);
1204
1205 return class_entry;
1206}
1207
1208static zend_class_entry *register_class_DateInvalidTimeZoneException(zend_class_entry *class_entry_DateException)
1209{
1210 zend_class_entry ce, *class_entry;
1211
1212 INIT_CLASS_ENTRY(ce, "DateInvalidTimeZoneException", NULL);
1213 class_entry = zend_register_internal_class_with_flags(&ce, class_entry_DateException, ZEND_ACC_NO_DYNAMIC_PROPERTIES);
1214
1215 return class_entry;
1216}
1217
1218static zend_class_entry *register_class_DateInvalidOperationException(zend_class_entry *class_entry_DateException)
1219{
1220 zend_class_entry ce, *class_entry;
1221
1222 INIT_CLASS_ENTRY(ce, "DateInvalidOperationException", NULL);
1223 class_entry = zend_register_internal_class_with_flags(&ce, class_entry_DateException, ZEND_ACC_NO_DYNAMIC_PROPERTIES);
1224
1225 return class_entry;
1226}
1227
1228static zend_class_entry *register_class_DateMalformedStringException(zend_class_entry *class_entry_DateException)
1229{
1230 zend_class_entry ce, *class_entry;
1231
1232 INIT_CLASS_ENTRY(ce, "DateMalformedStringException", NULL);
1233 class_entry = zend_register_internal_class_with_flags(&ce, class_entry_DateException, ZEND_ACC_NO_DYNAMIC_PROPERTIES);
1234
1235 return class_entry;
1236}
1237
1238static zend_class_entry *register_class_DateMalformedIntervalStringException(zend_class_entry *class_entry_DateException)
1239{
1240 zend_class_entry ce, *class_entry;
1241
1242 INIT_CLASS_ENTRY(ce, "DateMalformedIntervalStringException", NULL);
1243 class_entry = zend_register_internal_class_with_flags(&ce, class_entry_DateException, ZEND_ACC_NO_DYNAMIC_PROPERTIES);
1244
1245 return class_entry;
1246}
1247
1248static zend_class_entry *register_class_DateMalformedPeriodStringException(zend_class_entry *class_entry_DateException)
1249{
1250 zend_class_entry ce, *class_entry;
1251
1252 INIT_CLASS_ENTRY(ce, "DateMalformedPeriodStringException", NULL);
1253 class_entry = zend_register_internal_class_with_flags(&ce, class_entry_DateException, ZEND_ACC_NO_DYNAMIC_PROPERTIES);
1254
1255 return class_entry;
1256}
buf start
Definition ffi.c:4687
#define NULL
Definition gdcache.h:45
#define DATE_FORMAT_RFC1123
Definition php_date.c:107
#define add(i, ts)
#define PHP_DATE_PERIOD_INCLUDE_END_DATE
Definition php_date.c:232
#define DATE_FORMAT_RFC1036
Definition php_date.c:100
#define PHP_DATE_TIMEZONE_GROUP_UTC
Definition php_date.c:226
#define PHP_DATE_TIMEZONE_GROUP_ATLANTIC
Definition php_date.c:221
#define PHP_DATE_TIMEZONE_GROUP_INDIAN
Definition php_date.c:224
#define PHP_DATE_TIMEZONE_PER_COUNTRY
Definition php_date.c:229
#define PHP_DATE_TIMEZONE_GROUP_AMERICA
Definition php_date.c:217
#define DATE_FORMAT_RFC822
Definition php_date.c:82
#define DATE_FORMAT_COOKIE
Definition php_date.c:210
#define DATE_FORMAT_ISO8601_EXPANDED
Definition php_date.c:186
#define PHP_DATE_TIMEZONE_GROUP_ALL_W_BC
Definition php_date.c:228
#define DATE_FORMAT_RFC3339
Definition php_date.c:156
#define PHP_DATE_TIMEZONE_GROUP_PACIFIC
Definition php_date.c:225
#define PHP_DATE_TIMEZONE_GROUP_AUSTRALIA
Definition php_date.c:222
#define DATE_FORMAT_RFC3339_EXTENDED
Definition php_date.c:202
#define SUNFUNCS_RET_STRING
Definition php_date.c:213
#define SUNFUNCS_RET_TIMESTAMP
Definition php_date.c:212
#define PHP_DATE_TIMEZONE_GROUP_EUROPE
Definition php_date.c:223
#define DATE_FORMAT_RFC2822
Definition php_date.c:134
#define PHP_DATE_TIMEZONE_GROUP_AFRICA
Definition php_date.c:216
#define DATE_FORMAT_RFC850
Definition php_date.c:90
#define PHP_DATE_PERIOD_EXCLUDE_START_DATE
Definition php_date.c:231
#define DATE_FORMAT_ISO8601
Definition php_date.c:164
#define PHP_DATE_TIMEZONE_GROUP_ARCTIC
Definition php_date.c:219
#define PHP_DATE_TIMEZONE_GROUP_ANTARCTICA
Definition php_date.c:218
#define DATE_FORMAT_RFC7231
Definition php_date.c:112
#define PHP_DATE_TIMEZONE_GROUP_ASIA
Definition php_date.c:220
#define PHP_DATE_TIMEZONE_GROUP_ALL
Definition php_date.c:227
#define SUNFUNCS_RET_DOUBLE
Definition php_date.c:214
timezone_version_get()
date_sun_info(int $timestamp, float $latitude, float $longitude)
date_default_timezone_get()
timezone_open(string $timezone)
gmdate(string $format, ?int $timestamp=null)
date_default_timezone_set(string $timezoneId)
timezone_abbreviations_list()
date(string $format, ?int $timestamp=null)
date_parse_from_format(string $format, string $datetime)
date_sunset(int $timestamp, int $returnFormat=SUNFUNCS_RET_STRING, ?float $latitude=null, ?float $longitude=null, ?float $zenith=null, ?float $utcOffset=null)
idate(string $format, ?int $timestamp=null)
date_time_set(DateTime $object, int $hour, int $minute, int $second=0, int $microsecond=0)
date_timezone_get(DateTimeInterface $object)
timezone_name_get(DateTimeZone $object)
date_date_set(DateTime $object, int $year, int $month, int $day)
timezone_location_get(DateTimeZone $object)
getdate(?int $timestamp=null)
date_add(DateTime $object, DateInterval $interval)
date_create_immutable(string $datetime="now", ?DateTimeZone $timezone=null)
date_timezone_set(DateTime $object, DateTimeZone $timezone)
mktime(int $hour, ?int $minute=null, ?int $second=null, ?int $month=null, ?int $day=null, ?int $year=null)
date_sunrise(int $timestamp, int $returnFormat=SUNFUNCS_RET_STRING, ?float $latitude=null, ?float $longitude=null, ?float $zenith=null, ?float $utcOffset=null)
checkdate(int $month, int $day, int $year)
date_parse(string $datetime)
timezone_name_from_abbr(string $abbr, int $utcOffset=-1, int $isDST=-1)
date_create_from_format(string $format, string $datetime, ?DateTimeZone $timezone=null)
date_timestamp_get(DateTimeInterface $object)
date_create(string $datetime="now", ?DateTimeZone $timezone=null)
date_isodate_set(DateTime $object, int $year, int $week, int $dayOfWeek=1)
date_sub(DateTime $object, DateInterval $interval)
gmstrftime(string $format, ?int $timestamp=null)
timezone_offset_get(DateTimeZone $object, DateTimeInterface $datetime)
date_get_last_errors()
date_diff(DateTimeInterface $baseObject, DateTimeInterface $targetObject, bool $absolute=false)
strtotime(string $datetime, ?int $baseTimestamp=null)
date_interval_create_from_date_string(string $datetime)
date_timestamp_set(DateTime $object, int $timestamp)
gmmktime(int $hour, ?int $minute=null, ?int $second=null, ?int $month=null, ?int $day=null, ?int $year=null)
strftime(string $format, ?int $timestamp=null)
date_modify(DateTime $object, string $modifier)
time()
localtime(?int $timestamp=null, bool $associative=false)
date_offset_get(DateTimeInterface $object)
timezone_transitions_get(DateTimeZone $object, int $timestampBegin=PHP_INT_MIN, int $timestampEnd=PHP_INT_MAX)
date_create_immutable_from_format(string $format, string $datetime, ?DateTimeZone $timezone=null)
timezone_identifiers_list(int $timezoneGroup=DateTimeZone::ALL, ?string $countryCode=null)
#define arginfo_class_DateTimeImmutable___construct
#define arginfo_date_sub
#define arginfo_class_DatePeriod___wakeup
#define arginfo_class_DateTime_diff
#define arginfo_class_DateTime_getOffset
#define arginfo_class_DateTime_format
#define arginfo_gmstrftime
#define arginfo_class_DateInterval___unserialize
#define arginfo_class_DateTime_getMicrosecond
#define arginfo_class_DateTimeInterface_getTimestamp
#define arginfo_class_DateTimeImmutable_getTimestamp
#define arginfo_gmmktime
#define arginfo_date_timestamp_get
#define arginfo_class_DateTimeImmutable_getMicrosecond
#define arginfo_class_DateTimeImmutable_diff
#define arginfo_class_DateTimeImmutable___serialize
#define arginfo_class_DateTime_getTimestamp
#define arginfo_class_DateTimeImmutable_getTimezone
#define arginfo_class_DateTime___serialize
#define arginfo_class_DateTimeImmutable_format
#define arginfo_class_DateTimeZone___wakeup
#define arginfo_date_default_timezone_get
#define arginfo_class_DateTime___wakeup
#define arginfo_class_DateTime_sub
#define arginfo_class_DatePeriod___unserialize
#define arginfo_class_DateTimeImmutable_setMicrosecond
#define arginfo_class_DatePeriod___serialize
#define arginfo_class_DateTimeImmutable___unserialize
#define arginfo_class_DateTimeImmutable_sub
#define arginfo_class_DateTimeImmutable_getOffset
#define arginfo_class_DateInterval___serialize
#define arginfo_class_DateTimeImmutable___wakeup
#define arginfo_class_DateTimeZone___unserialize
#define arginfo_class_DateTimeInterface_getMicrosecond
#define arginfo_class_DateTime___unserialize
#define arginfo_class_DateTimeZone_getLocation
#define arginfo_gmdate
#define arginfo_class_DateTimeImmutable_createFromTimestamp
#define arginfo_date_sunset
#define arginfo_class_DateTime_getTimezone
#define arginfo_class_DateTimeImmutable_getLastErrors
#define arginfo_class_DateTimeInterface___serialize
#define arginfo_class_DateInterval___wakeup
#define arginfo_class_DateTimeZone___serialize
#define arginfo_class_DateInterval_format
unsigned const char * end
Definition php_ffi.h:51
PHP_JSON_API size_t int options
Definition php_json.h:102
zend_constant * data
zend_attribute_arg args[1]
ZEND_API zend_property_info * zend_declare_typed_property(zend_class_entry *ce, zend_string *name, zval *property, int access_type, zend_string *doc_comment, zend_type type)
Definition zend_API.c:4505
ZEND_API zend_class_entry * zend_register_internal_interface(zend_class_entry *orig_class_entry)
Definition zend_API.c:3557
ZEND_API zend_class_constant * zend_declare_typed_class_constant(zend_class_entry *ce, zend_string *name, zval *value, int flags, zend_string *doc_comment, zend_type type)
Definition zend_API.c:4859
ZEND_API zend_class_entry * zend_register_internal_class_with_flags(zend_class_entry *class_entry, zend_class_entry *parent_ce, uint32_t ce_flags)
Definition zend_API.c:3512
ZEND_API void zend_class_implements(zend_class_entry *class_entry, int num_interfaces,...)
Definition zend_API.c:3527
#define ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(name, return_reference, required_num_args, class_name, type)
Definition zend_API.h:195
#define ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(name, return_reference, required_num_args, type)
Definition zend_API.h:185
#define ZEND_FE_END
Definition zend_API.h:124
#define ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(pass_by_ref, name, class_name, allow_null, default_value)
Definition zend_API.h:156
struct _zend_function_entry zend_function_entry
#define ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(name, return_reference, required_num_args, type, allow_null)
Definition zend_API.h:205
#define INIT_CLASS_ENTRY(class_container, class_name, functions)
Definition zend_API.h:279
#define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags, frameless_function_infos, doc_comment)
Definition zend_API.h:80
#define ZEND_ARG_INFO(pass_by_ref, name)
Definition zend_API.h:130
#define ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_TYPE_MASK_EX(name, return_reference, required_num_args, class_name, type)
Definition zend_API.h:198
#define ZEND_ARG_TYPE_MASK(pass_by_ref, name, type_mask, default_value)
Definition zend_API.h:146
#define ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(name, return_reference, required_num_args, class_name, allow_null)
Definition zend_API.h:172
#define ZEND_METHOD(classname, name)
Definition zend_API.h:76
#define ZEND_END_ARG_INFO()
Definition zend_API.h:219
#define ZEND_ARG_OBJ_INFO(pass_by_ref, name, class_name, allow_null)
Definition zend_API.h:154
#define ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(pass_by_ref, name, type_hint, allow_null, default_value)
Definition zend_API.h:140
#define ZEND_ARG_TYPE_INFO(pass_by_ref, name, type_hint, allow_null)
Definition zend_API.h:138
#define ZEND_BEGIN_ARG_INFO_EX(name, _unused, return_reference, required_num_args)
Definition zend_API.h:214
#define ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(name, return_reference, required_num_args, type, allow_null)
Definition zend_API.h:208
#define ZEND_FE(name, arg_info)
Definition zend_API.h:86
#define ZEND_ME(classname, name, arg_info, flags)
Definition zend_API.h:91
#define ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_INFO_EX(name, return_reference, required_num_args, class_name, allow_null)
Definition zend_API.h:175
#define ZEND_FUNCTION(name)
Definition zend_API.h:75
#define ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_MASK_EX(name, return_reference, required_num_args, type)
Definition zend_API.h:188
struct _zend_attribute zend_attribute
struct _zval_struct zval
strlen(string $string)
strcmp(string $string1, string $string2)
#define ZEND_ACC_NO_DYNAMIC_PROPERTIES
#define ZEND_ACC_ABSTRACT
#define ZEND_ACC_STATIC
#define ZEND_ACC_PUBLIC
#define ZEND_ACC_DEPRECATED
#define REGISTER_STRING_CONSTANT(name, str, flags)
#define CONST_PERSISTENT
#define CONST_DEPRECATED
#define REGISTER_LONG_CONSTANT(name, lval, flags)
#define CG(v)
struct _zend_string zend_string
#define ZEND_ASSERT(c)
struct _zend_class_entry zend_class_entry
ZEND_API zend_string_init_interned_func_t zend_string_init_interned
Definition zend_string.c:31
#define ZSTR_KNOWN(idx)
#define MAY_BE_STRING
#define MAY_BE_FALSE
#define MAY_BE_BOOL
#define MAY_BE_NULL
#define MAY_BE_DOUBLE
#define MAY_BE_LONG
#define MAY_BE_ARRAY
#define ZVAL_STR(z, s)
#define ZVAL_UNDEF(z)
#define ZEND_TYPE_INIT_MASK(_type_mask)
Definition zend_types.h:283
#define ZVAL_LONG(z, l)
#define IS_STRING
Definition zend_types.h:606
#define IS_ARRAY
Definition zend_types.h:607
#define IS_VOID
Definition zend_types.h:617
#define IS_DOUBLE
Definition zend_types.h:605
#define IS_LONG
Definition zend_types.h:604
#define _IS_BOOL
Definition zend_types.h:629
#define ZEND_TYPE_INIT_CLASS(class_name, allow_null, extra_flags)
Definition zend_types.h:303
#define IS_STATIC
Definition zend_types.h:618
#define ZVAL_COPY_VALUE(z, v)