diff options
Diffstat (limited to 'ext/date/php_date_arginfo.h')
-rw-r--r-- | ext/date/php_date_arginfo.h | 65 |
1 files changed, 64 insertions, 1 deletions
diff --git a/ext/date/php_date_arginfo.h b/ext/date/php_date_arginfo.h index cf50abb43f..8f90dd8cba 100644 --- a/ext/date/php_date_arginfo.h +++ b/ext/date/php_date_arginfo.h @@ -1,5 +1,5 @@ /* This is a generated file, edit the .stub.php file instead. - * Stub hash: 880a93d8a3461635447318317869fa7d3d7762dd */ + * Stub hash: 108136459e578cc699cffcb84d3335a11f8d5c9d */ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_strtotime, 0, 1, MAY_BE_LONG|MAY_BE_FALSE) ZEND_ARG_TYPE_INFO(0, datetime, IS_STRING, 0) @@ -657,3 +657,66 @@ static const zend_function_entry class_DatePeriod_methods[] = { ZEND_ME(DatePeriod, getIterator, arginfo_class_DatePeriod_getIterator, ZEND_ACC_PUBLIC) ZEND_FE_END }; + +static zend_class_entry *register_class_DateTimeInterface(void) +{ + zend_class_entry ce, *class_entry; + + INIT_CLASS_ENTRY(ce, "DateTimeInterface", class_DateTimeInterface_methods); + class_entry = zend_register_internal_interface(&ce); + + return class_entry; +} + +static zend_class_entry *register_class_DateTime(zend_class_entry *class_entry_DateTimeInterface) +{ + zend_class_entry ce, *class_entry; + + INIT_CLASS_ENTRY(ce, "DateTime", class_DateTime_methods); + class_entry = zend_register_internal_class_ex(&ce, NULL); + zend_class_implements(class_entry, 1, class_entry_DateTimeInterface); + + return class_entry; +} + +static zend_class_entry *register_class_DateTimeImmutable(zend_class_entry *class_entry_DateTimeInterface) +{ + zend_class_entry ce, *class_entry; + + INIT_CLASS_ENTRY(ce, "DateTimeImmutable", class_DateTimeImmutable_methods); + class_entry = zend_register_internal_class_ex(&ce, NULL); + zend_class_implements(class_entry, 1, class_entry_DateTimeInterface); + + return class_entry; +} + +static zend_class_entry *register_class_DateTimeZone(void) +{ + zend_class_entry ce, *class_entry; + + INIT_CLASS_ENTRY(ce, "DateTimeZone", class_DateTimeZone_methods); + class_entry = zend_register_internal_class_ex(&ce, NULL); + + return class_entry; +} + +static zend_class_entry *register_class_DateInterval(void) +{ + zend_class_entry ce, *class_entry; + + INIT_CLASS_ENTRY(ce, "DateInterval", class_DateInterval_methods); + class_entry = zend_register_internal_class_ex(&ce, NULL); + + return class_entry; +} + +static zend_class_entry *register_class_DatePeriod(zend_class_entry *class_entry_IteratorAggregate) +{ + zend_class_entry ce, *class_entry; + + INIT_CLASS_ENTRY(ce, "DatePeriod", class_DatePeriod_methods); + class_entry = zend_register_internal_class_ex(&ce, NULL); + zend_class_implements(class_entry, 1, class_entry_IteratorAggregate); + + return class_entry; +} |