diff options
Diffstat (limited to 'ext/zip/php_zip_arginfo.h')
-rw-r--r-- | ext/zip/php_zip_arginfo.h | 49 |
1 files changed, 48 insertions, 1 deletions
diff --git a/ext/zip/php_zip_arginfo.h b/ext/zip/php_zip_arginfo.h index ba72e52aa8..900c334bf0 100644 --- a/ext/zip/php_zip_arginfo.h +++ b/ext/zip/php_zip_arginfo.h @@ -1,5 +1,5 @@ /* This is a generated file, edit the .stub.php file instead. - * Stub hash: 095084d2a2df557398191af5dd6c8bea6bb7c338 */ + * Stub hash: a50da348df01027594efd7c8ab7427c05ffea39e */ ZEND_BEGIN_ARG_INFO_EX(arginfo_zip_open, 0, 0, 1) ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0) @@ -453,3 +453,50 @@ static const zend_function_entry class_ZipArchive_methods[] = { #endif ZEND_FE_END }; + +static zend_class_entry *register_class_ZipArchive(zend_class_entry *class_entry_Countable) +{ + zend_class_entry ce, *class_entry; + + INIT_CLASS_ENTRY(ce, "ZipArchive", class_ZipArchive_methods); + class_entry = zend_register_internal_class_ex(&ce, NULL); + zend_class_implements(class_entry, 1, class_entry_Countable); + + zval property_lastId_default_value; + ZVAL_NULL(&property_lastId_default_value); + zend_string *property_lastId_name = zend_string_init("lastId", sizeof("lastId") - 1, 1); + zend_declare_property_ex(class_entry, property_lastId_name, &property_lastId_default_value, ZEND_ACC_PUBLIC, NULL); + zend_string_release(property_lastId_name); + + zval property_status_default_value; + ZVAL_NULL(&property_status_default_value); + zend_string *property_status_name = zend_string_init("status", sizeof("status") - 1, 1); + zend_declare_property_ex(class_entry, property_status_name, &property_status_default_value, ZEND_ACC_PUBLIC, NULL); + zend_string_release(property_status_name); + + zval property_statusSys_default_value; + ZVAL_NULL(&property_statusSys_default_value); + zend_string *property_statusSys_name = zend_string_init("statusSys", sizeof("statusSys") - 1, 1); + zend_declare_property_ex(class_entry, property_statusSys_name, &property_statusSys_default_value, ZEND_ACC_PUBLIC, NULL); + zend_string_release(property_statusSys_name); + + zval property_numFiles_default_value; + ZVAL_NULL(&property_numFiles_default_value); + zend_string *property_numFiles_name = zend_string_init("numFiles", sizeof("numFiles") - 1, 1); + zend_declare_property_ex(class_entry, property_numFiles_name, &property_numFiles_default_value, ZEND_ACC_PUBLIC, NULL); + zend_string_release(property_numFiles_name); + + zval property_filename_default_value; + ZVAL_NULL(&property_filename_default_value); + zend_string *property_filename_name = zend_string_init("filename", sizeof("filename") - 1, 1); + zend_declare_property_ex(class_entry, property_filename_name, &property_filename_default_value, ZEND_ACC_PUBLIC, NULL); + zend_string_release(property_filename_name); + + zval property_comment_default_value; + ZVAL_NULL(&property_comment_default_value); + zend_string *property_comment_name = zend_string_init("comment", sizeof("comment") - 1, 1); + zend_declare_property_ex(class_entry, property_comment_name, &property_comment_default_value, ZEND_ACC_PUBLIC, NULL); + zend_string_release(property_comment_name); + + return class_entry; +} |