php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
php_zip_arginfo.h
Go to the documentation of this file.
1/* This is a generated file, edit the .stub.php file instead.
2 * Stub hash: 53e04d9b2c25cc8a0c9fe51914b5a47280834fb8 */
3
4ZEND_BEGIN_ARG_INFO_EX(arginfo_zip_open, 0, 0, 1)
5 ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
7
8ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_zip_close, 0, 1, IS_VOID, 0)
9 ZEND_ARG_INFO(0, zip)
11
12ZEND_BEGIN_ARG_INFO_EX(arginfo_zip_read, 0, 0, 1)
13 ZEND_ARG_INFO(0, zip)
15
16ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_zip_entry_open, 0, 2, _IS_BOOL, 0)
17 ZEND_ARG_INFO(0, zip_dp)
18 ZEND_ARG_INFO(0, zip_entry)
21
22ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_zip_entry_close, 0, 1, _IS_BOOL, 0)
23 ZEND_ARG_INFO(0, zip_entry)
25
27 ZEND_ARG_INFO(0, zip_entry)
30
32 ZEND_ARG_INFO(0, zip_entry)
34
35ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_zip_entry_compressedsize, 0, 1, MAY_BE_LONG|MAY_BE_FALSE)
36 ZEND_ARG_INFO(0, zip_entry)
38
39#define arginfo_zip_entry_filesize arginfo_zip_entry_compressedsize
40
41#define arginfo_zip_entry_compressionmethod arginfo_zip_entry_name
42
44 ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
47
48ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_ZipArchive_setPassword, 0, 1, _IS_BOOL, 0)
49 ZEND_ARG_TYPE_INFO(0, password, IS_STRING, 0)
51
52ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_ZipArchive_close, 0, 0, _IS_BOOL, 0)
54
55ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_ZipArchive_count, 0, 0, IS_LONG, 0)
57
58ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_ZipArchive_getStatusString, 0, 0, IS_STRING, 0)
60
61ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ZipArchive_clearError, 0, 0, IS_VOID, 0)
63
64ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_ZipArchive_addEmptyDir, 0, 1, _IS_BOOL, 0)
68
69ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_ZipArchive_addFromString, 0, 2, _IS_BOOL, 0)
71 ZEND_ARG_TYPE_INFO(0, content, IS_STRING, 0)
72 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, flags, IS_LONG, 0, "ZipArchive::FL_OVERWRITE")
74
75ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_ZipArchive_addFile, 0, 1, _IS_BOOL, 0)
76 ZEND_ARG_TYPE_INFO(0, filepath, IS_STRING, 0)
77 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, entryname, IS_STRING, 0, "\"\"")
79 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, length, IS_LONG, 0, "ZipArchive::LENGTH_TO_END")
80 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, flags, IS_LONG, 0, "ZipArchive::FL_OVERWRITE")
82
83ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_ZipArchive_replaceFile, 0, 2, _IS_BOOL, 0)
84 ZEND_ARG_TYPE_INFO(0, filepath, IS_STRING, 0)
85 ZEND_ARG_TYPE_INFO(0, index, IS_LONG, 0)
87 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, length, IS_LONG, 0, "ZipArchive::LENGTH_TO_END")
90
92 ZEND_ARG_TYPE_INFO(0, pattern, IS_STRING, 0)
96
97ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_MASK_EX(arginfo_class_ZipArchive_addPattern, 0, 1, MAY_BE_ARRAY|MAY_BE_FALSE)
98 ZEND_ARG_TYPE_INFO(0, pattern, IS_STRING, 0)
102
103ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_ZipArchive_renameIndex, 0, 2, _IS_BOOL, 0)
104 ZEND_ARG_TYPE_INFO(0, index, IS_LONG, 0)
105 ZEND_ARG_TYPE_INFO(0, new_name, IS_STRING, 0)
107
108ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_ZipArchive_renameName, 0, 2, _IS_BOOL, 0)
110 ZEND_ARG_TYPE_INFO(0, new_name, IS_STRING, 0)
112
113ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_ZipArchive_setArchiveComment, 0, 1, _IS_BOOL, 0)
114 ZEND_ARG_TYPE_INFO(0, comment, IS_STRING, 0)
116
117ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_MASK_EX(arginfo_class_ZipArchive_getArchiveComment, 0, 0, MAY_BE_STRING|MAY_BE_FALSE)
120
121ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ZipArchive_setArchiveFlag, 0, 2, _IS_BOOL, 0)
122 ZEND_ARG_TYPE_INFO(0, flag, IS_LONG, 0)
125
126ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ZipArchive_getArchiveFlag, 0, 1, IS_LONG, 0)
127 ZEND_ARG_TYPE_INFO(0, flag, IS_LONG, 0)
130
131ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_ZipArchive_setCommentIndex, 0, 2, _IS_BOOL, 0)
132 ZEND_ARG_TYPE_INFO(0, index, IS_LONG, 0)
133 ZEND_ARG_TYPE_INFO(0, comment, IS_STRING, 0)
135
136ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_ZipArchive_setCommentName, 0, 2, _IS_BOOL, 0)
138 ZEND_ARG_TYPE_INFO(0, comment, IS_STRING, 0)
140
141#if defined(HAVE_SET_MTIME)
142ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_ZipArchive_setMtimeIndex, 0, 2, _IS_BOOL, 0)
143 ZEND_ARG_TYPE_INFO(0, index, IS_LONG, 0)
144 ZEND_ARG_TYPE_INFO(0, timestamp, IS_LONG, 0)
147
148ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_ZipArchive_setMtimeName, 0, 2, _IS_BOOL, 0)
150 ZEND_ARG_TYPE_INFO(0, timestamp, IS_LONG, 0)
153#endif
154
155ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_MASK_EX(arginfo_class_ZipArchive_getCommentIndex, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)
156 ZEND_ARG_TYPE_INFO(0, index, IS_LONG, 0)
159
160ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_MASK_EX(arginfo_class_ZipArchive_getCommentName, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)
164
165ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_ZipArchive_deleteIndex, 0, 1, _IS_BOOL, 0)
166 ZEND_ARG_TYPE_INFO(0, index, IS_LONG, 0)
168
169ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_ZipArchive_deleteName, 0, 1, _IS_BOOL, 0)
172
177
178ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_MASK_EX(arginfo_class_ZipArchive_statIndex, 0, 1, MAY_BE_ARRAY|MAY_BE_FALSE)
179 ZEND_ARG_TYPE_INFO(0, index, IS_LONG, 0)
182
183ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_MASK_EX(arginfo_class_ZipArchive_locateName, 0, 1, MAY_BE_LONG|MAY_BE_FALSE)
187
188#define arginfo_class_ZipArchive_getNameIndex arginfo_class_ZipArchive_getCommentIndex
189
190#define arginfo_class_ZipArchive_unchangeArchive arginfo_class_ZipArchive_close
191
192#define arginfo_class_ZipArchive_unchangeAll arginfo_class_ZipArchive_close
193
194#define arginfo_class_ZipArchive_unchangeIndex arginfo_class_ZipArchive_deleteIndex
195
196#define arginfo_class_ZipArchive_unchangeName arginfo_class_ZipArchive_deleteName
197
198ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_ZipArchive_extractTo, 0, 1, _IS_BOOL, 0)
199 ZEND_ARG_TYPE_INFO(0, pathto, IS_STRING, 0)
202
203ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_MASK_EX(arginfo_class_ZipArchive_getFromName, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)
208
209ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_MASK_EX(arginfo_class_ZipArchive_getFromIndex, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)
210 ZEND_ARG_TYPE_INFO(0, index, IS_LONG, 0)
214
215ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ZipArchive_getStreamIndex, 0, 0, 1)
216 ZEND_ARG_TYPE_INFO(0, index, IS_LONG, 0)
219
220ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ZipArchive_getStreamName, 0, 0, 1)
224
225ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ZipArchive_getStream, 0, 0, 1)
228
229#if defined(ZIP_OPSYS_DEFAULT)
230ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_ZipArchive_setExternalAttributesName, 0, 3, _IS_BOOL, 0)
232 ZEND_ARG_TYPE_INFO(0, opsys, IS_LONG, 0)
236
237ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_ZipArchive_setExternalAttributesIndex, 0, 3, _IS_BOOL, 0)
238 ZEND_ARG_TYPE_INFO(0, index, IS_LONG, 0)
239 ZEND_ARG_TYPE_INFO(0, opsys, IS_LONG, 0)
243
244ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_ZipArchive_getExternalAttributesName, 0, 3, _IS_BOOL, 0)
246 ZEND_ARG_INFO(1, opsys)
250
251ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_ZipArchive_getExternalAttributesIndex, 0, 3, _IS_BOOL, 0)
252 ZEND_ARG_TYPE_INFO(0, index, IS_LONG, 0)
253 ZEND_ARG_INFO(1, opsys)
257#endif
258
259ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_ZipArchive_setCompressionName, 0, 2, _IS_BOOL, 0)
261 ZEND_ARG_TYPE_INFO(0, method, IS_LONG, 0)
264
265ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_ZipArchive_setCompressionIndex, 0, 2, _IS_BOOL, 0)
266 ZEND_ARG_TYPE_INFO(0, index, IS_LONG, 0)
267 ZEND_ARG_TYPE_INFO(0, method, IS_LONG, 0)
270
271#if defined(HAVE_ENCRYPTION)
272ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_ZipArchive_setEncryptionName, 0, 2, _IS_BOOL, 0)
274 ZEND_ARG_TYPE_INFO(0, method, IS_LONG, 0)
275 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, password, IS_STRING, 1, "null")
277
278ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_ZipArchive_setEncryptionIndex, 0, 2, _IS_BOOL, 0)
279 ZEND_ARG_TYPE_INFO(0, index, IS_LONG, 0)
280 ZEND_ARG_TYPE_INFO(0, method, IS_LONG, 0)
281 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, password, IS_STRING, 1, "null")
283#endif
284
285#if defined(HAVE_PROGRESS_CALLBACK)
286ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_ZipArchive_registerProgressCallback, 0, 2, _IS_BOOL, 0)
287 ZEND_ARG_TYPE_INFO(0, rate, IS_DOUBLE, 0)
290#endif
291
292#if defined(HAVE_CANCEL_CALLBACK)
293ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_ZipArchive_registerCancelCallback, 0, 1, _IS_BOOL, 0)
296#endif
297
298#if defined(HAVE_METHOD_SUPPORTED)
299ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ZipArchive_isCompressionMethodSupported, 0, 1, _IS_BOOL, 0)
300 ZEND_ARG_TYPE_INFO(0, method, IS_LONG, 0)
303
304#define arginfo_class_ZipArchive_isEncryptionMethodSupported arginfo_class_ZipArchive_isCompressionMethodSupported
305#endif
306
321ZEND_METHOD(ZipArchive, getStatusString);
324ZEND_METHOD(ZipArchive, addFromString);
331ZEND_METHOD(ZipArchive, setArchiveComment);
332ZEND_METHOD(ZipArchive, getArchiveComment);
333ZEND_METHOD(ZipArchive, setArchiveFlag);
334ZEND_METHOD(ZipArchive, getArchiveFlag);
335ZEND_METHOD(ZipArchive, setCommentIndex);
336ZEND_METHOD(ZipArchive, setCommentName);
337#if defined(HAVE_SET_MTIME)
338ZEND_METHOD(ZipArchive, setMtimeIndex);
339ZEND_METHOD(ZipArchive, setMtimeName);
340#endif
341ZEND_METHOD(ZipArchive, getCommentIndex);
342ZEND_METHOD(ZipArchive, getCommentName);
348ZEND_METHOD(ZipArchive, getNameIndex);
349ZEND_METHOD(ZipArchive, unchangeArchive);
351ZEND_METHOD(ZipArchive, unchangeIndex);
352ZEND_METHOD(ZipArchive, unchangeName);
355ZEND_METHOD(ZipArchive, getFromIndex);
356ZEND_METHOD(ZipArchive, getStreamIndex);
357ZEND_METHOD(ZipArchive, getStreamName);
359#if defined(ZIP_OPSYS_DEFAULT)
360ZEND_METHOD(ZipArchive, setExternalAttributesName);
361ZEND_METHOD(ZipArchive, setExternalAttributesIndex);
362ZEND_METHOD(ZipArchive, getExternalAttributesName);
363ZEND_METHOD(ZipArchive, getExternalAttributesIndex);
364#endif
365ZEND_METHOD(ZipArchive, setCompressionName);
366ZEND_METHOD(ZipArchive, setCompressionIndex);
367#if defined(HAVE_ENCRYPTION)
368ZEND_METHOD(ZipArchive, setEncryptionName);
369ZEND_METHOD(ZipArchive, setEncryptionIndex);
370#endif
371#if defined(HAVE_PROGRESS_CALLBACK)
372ZEND_METHOD(ZipArchive, registerProgressCallback);
373#endif
374#if defined(HAVE_CANCEL_CALLBACK)
375ZEND_METHOD(ZipArchive, registerCancelCallback);
376#endif
377#if defined(HAVE_METHOD_SUPPORTED)
378ZEND_METHOD(ZipArchive, isCompressionMethodSupported);
379ZEND_METHOD(ZipArchive, isEncryptionMethodSupported);
380#endif
381
382static const zend_function_entry ext_functions[] = {
383 ZEND_RAW_FENTRY("zip_open", zif_zip_open, arginfo_zip_open, ZEND_ACC_DEPRECATED, NULL, NULL)
384 ZEND_RAW_FENTRY("zip_close", zif_zip_close, arginfo_zip_close, ZEND_ACC_DEPRECATED, NULL, NULL)
385 ZEND_RAW_FENTRY("zip_read", zif_zip_read, arginfo_zip_read, ZEND_ACC_DEPRECATED, NULL, NULL)
386 ZEND_RAW_FENTRY("zip_entry_open", zif_zip_entry_open, arginfo_zip_entry_open, ZEND_ACC_DEPRECATED, NULL, NULL)
387 ZEND_RAW_FENTRY("zip_entry_close", zif_zip_entry_close, arginfo_zip_entry_close, ZEND_ACC_DEPRECATED, NULL, NULL)
388 ZEND_RAW_FENTRY("zip_entry_read", zif_zip_entry_read, arginfo_zip_entry_read, ZEND_ACC_DEPRECATED, NULL, NULL)
389 ZEND_RAW_FENTRY("zip_entry_name", zif_zip_entry_name, arginfo_zip_entry_name, ZEND_ACC_DEPRECATED, NULL, NULL)
390 ZEND_RAW_FENTRY("zip_entry_compressedsize", zif_zip_entry_compressedsize, arginfo_zip_entry_compressedsize, ZEND_ACC_DEPRECATED, NULL, NULL)
391 ZEND_RAW_FENTRY("zip_entry_filesize", zif_zip_entry_filesize, arginfo_zip_entry_filesize, ZEND_ACC_DEPRECATED, NULL, NULL)
392 ZEND_RAW_FENTRY("zip_entry_compressionmethod", zif_zip_entry_compressionmethod, arginfo_zip_entry_compressionmethod, ZEND_ACC_DEPRECATED, NULL, NULL)
394};
395
396static const zend_function_entry class_ZipArchive_methods[] = {
397 ZEND_ME(ZipArchive, open, arginfo_class_ZipArchive_open, ZEND_ACC_PUBLIC)
398 ZEND_ME(ZipArchive, setPassword, arginfo_class_ZipArchive_setPassword, ZEND_ACC_PUBLIC)
399 ZEND_ME(ZipArchive, close, arginfo_class_ZipArchive_close, ZEND_ACC_PUBLIC)
400 ZEND_ME(ZipArchive, count, arginfo_class_ZipArchive_count, ZEND_ACC_PUBLIC)
401 ZEND_ME(ZipArchive, getStatusString, arginfo_class_ZipArchive_getStatusString, ZEND_ACC_PUBLIC)
402 ZEND_ME(ZipArchive, clearError, arginfo_class_ZipArchive_clearError, ZEND_ACC_PUBLIC)
403 ZEND_ME(ZipArchive, addEmptyDir, arginfo_class_ZipArchive_addEmptyDir, ZEND_ACC_PUBLIC)
404 ZEND_ME(ZipArchive, addFromString, arginfo_class_ZipArchive_addFromString, ZEND_ACC_PUBLIC)
405 ZEND_ME(ZipArchive, addFile, arginfo_class_ZipArchive_addFile, ZEND_ACC_PUBLIC)
406 ZEND_ME(ZipArchive, replaceFile, arginfo_class_ZipArchive_replaceFile, ZEND_ACC_PUBLIC)
407 ZEND_ME(ZipArchive, addGlob, arginfo_class_ZipArchive_addGlob, ZEND_ACC_PUBLIC)
408 ZEND_ME(ZipArchive, addPattern, arginfo_class_ZipArchive_addPattern, ZEND_ACC_PUBLIC)
409 ZEND_ME(ZipArchive, renameIndex, arginfo_class_ZipArchive_renameIndex, ZEND_ACC_PUBLIC)
410 ZEND_ME(ZipArchive, renameName, arginfo_class_ZipArchive_renameName, ZEND_ACC_PUBLIC)
411 ZEND_ME(ZipArchive, setArchiveComment, arginfo_class_ZipArchive_setArchiveComment, ZEND_ACC_PUBLIC)
412 ZEND_ME(ZipArchive, getArchiveComment, arginfo_class_ZipArchive_getArchiveComment, ZEND_ACC_PUBLIC)
413 ZEND_ME(ZipArchive, setArchiveFlag, arginfo_class_ZipArchive_setArchiveFlag, ZEND_ACC_PUBLIC)
414 ZEND_ME(ZipArchive, getArchiveFlag, arginfo_class_ZipArchive_getArchiveFlag, ZEND_ACC_PUBLIC)
415 ZEND_ME(ZipArchive, setCommentIndex, arginfo_class_ZipArchive_setCommentIndex, ZEND_ACC_PUBLIC)
416 ZEND_ME(ZipArchive, setCommentName, arginfo_class_ZipArchive_setCommentName, ZEND_ACC_PUBLIC)
417#if defined(HAVE_SET_MTIME)
418 ZEND_ME(ZipArchive, setMtimeIndex, arginfo_class_ZipArchive_setMtimeIndex, ZEND_ACC_PUBLIC)
419 ZEND_ME(ZipArchive, setMtimeName, arginfo_class_ZipArchive_setMtimeName, ZEND_ACC_PUBLIC)
420#endif
421 ZEND_ME(ZipArchive, getCommentIndex, arginfo_class_ZipArchive_getCommentIndex, ZEND_ACC_PUBLIC)
422 ZEND_ME(ZipArchive, getCommentName, arginfo_class_ZipArchive_getCommentName, ZEND_ACC_PUBLIC)
423 ZEND_ME(ZipArchive, deleteIndex, arginfo_class_ZipArchive_deleteIndex, ZEND_ACC_PUBLIC)
424 ZEND_ME(ZipArchive, deleteName, arginfo_class_ZipArchive_deleteName, ZEND_ACC_PUBLIC)
425 ZEND_ME(ZipArchive, statName, arginfo_class_ZipArchive_statName, ZEND_ACC_PUBLIC)
426 ZEND_ME(ZipArchive, statIndex, arginfo_class_ZipArchive_statIndex, ZEND_ACC_PUBLIC)
427 ZEND_ME(ZipArchive, locateName, arginfo_class_ZipArchive_locateName, ZEND_ACC_PUBLIC)
433 ZEND_ME(ZipArchive, extractTo, arginfo_class_ZipArchive_extractTo, ZEND_ACC_PUBLIC)
434 ZEND_ME(ZipArchive, getFromName, arginfo_class_ZipArchive_getFromName, ZEND_ACC_PUBLIC)
435 ZEND_ME(ZipArchive, getFromIndex, arginfo_class_ZipArchive_getFromIndex, ZEND_ACC_PUBLIC)
436 ZEND_ME(ZipArchive, getStreamIndex, arginfo_class_ZipArchive_getStreamIndex, ZEND_ACC_PUBLIC)
437 ZEND_ME(ZipArchive, getStreamName, arginfo_class_ZipArchive_getStreamName, ZEND_ACC_PUBLIC)
438 ZEND_ME(ZipArchive, getStream, arginfo_class_ZipArchive_getStream, ZEND_ACC_PUBLIC)
439#if defined(ZIP_OPSYS_DEFAULT)
440 ZEND_ME(ZipArchive, setExternalAttributesName, arginfo_class_ZipArchive_setExternalAttributesName, ZEND_ACC_PUBLIC)
441 ZEND_ME(ZipArchive, setExternalAttributesIndex, arginfo_class_ZipArchive_setExternalAttributesIndex, ZEND_ACC_PUBLIC)
442 ZEND_ME(ZipArchive, getExternalAttributesName, arginfo_class_ZipArchive_getExternalAttributesName, ZEND_ACC_PUBLIC)
443 ZEND_ME(ZipArchive, getExternalAttributesIndex, arginfo_class_ZipArchive_getExternalAttributesIndex, ZEND_ACC_PUBLIC)
444#endif
445 ZEND_ME(ZipArchive, setCompressionName, arginfo_class_ZipArchive_setCompressionName, ZEND_ACC_PUBLIC)
446 ZEND_ME(ZipArchive, setCompressionIndex, arginfo_class_ZipArchive_setCompressionIndex, ZEND_ACC_PUBLIC)
447#if defined(HAVE_ENCRYPTION)
448 ZEND_ME(ZipArchive, setEncryptionName, arginfo_class_ZipArchive_setEncryptionName, ZEND_ACC_PUBLIC)
449 ZEND_ME(ZipArchive, setEncryptionIndex, arginfo_class_ZipArchive_setEncryptionIndex, ZEND_ACC_PUBLIC)
450#endif
451#if defined(HAVE_PROGRESS_CALLBACK)
452 ZEND_ME(ZipArchive, registerProgressCallback, arginfo_class_ZipArchive_registerProgressCallback, ZEND_ACC_PUBLIC)
453#endif
454#if defined(HAVE_CANCEL_CALLBACK)
455 ZEND_ME(ZipArchive, registerCancelCallback, arginfo_class_ZipArchive_registerCancelCallback, ZEND_ACC_PUBLIC)
456#endif
457#if defined(HAVE_METHOD_SUPPORTED)
458 ZEND_ME(ZipArchive, isCompressionMethodSupported, arginfo_class_ZipArchive_isCompressionMethodSupported, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
459 ZEND_ME(ZipArchive, isEncryptionMethodSupported, arginfo_class_ZipArchive_isEncryptionMethodSupported, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
460#endif
462};
463
464static void register_php_zip_symbols(int module_number)
465{
466
467 zend_attribute *attribute_Deprecated_func_zip_open_0 = zend_add_function_attribute(zend_hash_str_find_ptr(CG(function_table), "zip_open", sizeof("zip_open") - 1), ZSTR_KNOWN(ZEND_STR_DEPRECATED_CAPITALIZED), 2);
468 zval attribute_Deprecated_func_zip_open_0_arg0;
469 zend_string *attribute_Deprecated_func_zip_open_0_arg0_str = zend_string_init("8.0", strlen("8.0"), 1);
470 ZVAL_STR(&attribute_Deprecated_func_zip_open_0_arg0, attribute_Deprecated_func_zip_open_0_arg0_str);
471 ZVAL_COPY_VALUE(&attribute_Deprecated_func_zip_open_0->args[0].value, &attribute_Deprecated_func_zip_open_0_arg0);
472 attribute_Deprecated_func_zip_open_0->args[0].name = ZSTR_KNOWN(ZEND_STR_SINCE);
473 zval attribute_Deprecated_func_zip_open_0_arg1;
474 zend_string *attribute_Deprecated_func_zip_open_0_arg1_str = zend_string_init("use ZipArchive::open() instead", strlen("use ZipArchive::open() instead"), 1);
475 ZVAL_STR(&attribute_Deprecated_func_zip_open_0_arg1, attribute_Deprecated_func_zip_open_0_arg1_str);
476 ZVAL_COPY_VALUE(&attribute_Deprecated_func_zip_open_0->args[1].value, &attribute_Deprecated_func_zip_open_0_arg1);
477 attribute_Deprecated_func_zip_open_0->args[1].name = ZSTR_KNOWN(ZEND_STR_MESSAGE);
478
479 zend_attribute *attribute_Deprecated_func_zip_close_0 = zend_add_function_attribute(zend_hash_str_find_ptr(CG(function_table), "zip_close", sizeof("zip_close") - 1), ZSTR_KNOWN(ZEND_STR_DEPRECATED_CAPITALIZED), 2);
480 zval attribute_Deprecated_func_zip_close_0_arg0;
481 zend_string *attribute_Deprecated_func_zip_close_0_arg0_str = zend_string_init("8.0", strlen("8.0"), 1);
482 ZVAL_STR(&attribute_Deprecated_func_zip_close_0_arg0, attribute_Deprecated_func_zip_close_0_arg0_str);
483 ZVAL_COPY_VALUE(&attribute_Deprecated_func_zip_close_0->args[0].value, &attribute_Deprecated_func_zip_close_0_arg0);
484 attribute_Deprecated_func_zip_close_0->args[0].name = ZSTR_KNOWN(ZEND_STR_SINCE);
485 zval attribute_Deprecated_func_zip_close_0_arg1;
486 zend_string *attribute_Deprecated_func_zip_close_0_arg1_str = zend_string_init("use ZipArchive::close() instead", strlen("use ZipArchive::close() instead"), 1);
487 ZVAL_STR(&attribute_Deprecated_func_zip_close_0_arg1, attribute_Deprecated_func_zip_close_0_arg1_str);
488 ZVAL_COPY_VALUE(&attribute_Deprecated_func_zip_close_0->args[1].value, &attribute_Deprecated_func_zip_close_0_arg1);
489 attribute_Deprecated_func_zip_close_0->args[1].name = ZSTR_KNOWN(ZEND_STR_MESSAGE);
490
491 zend_attribute *attribute_Deprecated_func_zip_read_0 = zend_add_function_attribute(zend_hash_str_find_ptr(CG(function_table), "zip_read", sizeof("zip_read") - 1), ZSTR_KNOWN(ZEND_STR_DEPRECATED_CAPITALIZED), 2);
492 zval attribute_Deprecated_func_zip_read_0_arg0;
493 zend_string *attribute_Deprecated_func_zip_read_0_arg0_str = zend_string_init("8.0", strlen("8.0"), 1);
494 ZVAL_STR(&attribute_Deprecated_func_zip_read_0_arg0, attribute_Deprecated_func_zip_read_0_arg0_str);
495 ZVAL_COPY_VALUE(&attribute_Deprecated_func_zip_read_0->args[0].value, &attribute_Deprecated_func_zip_read_0_arg0);
496 attribute_Deprecated_func_zip_read_0->args[0].name = ZSTR_KNOWN(ZEND_STR_SINCE);
497 zval attribute_Deprecated_func_zip_read_0_arg1;
498 zend_string *attribute_Deprecated_func_zip_read_0_arg1_str = zend_string_init("use ZipArchive::statIndex() instead", strlen("use ZipArchive::statIndex() instead"), 1);
499 ZVAL_STR(&attribute_Deprecated_func_zip_read_0_arg1, attribute_Deprecated_func_zip_read_0_arg1_str);
500 ZVAL_COPY_VALUE(&attribute_Deprecated_func_zip_read_0->args[1].value, &attribute_Deprecated_func_zip_read_0_arg1);
501 attribute_Deprecated_func_zip_read_0->args[1].name = ZSTR_KNOWN(ZEND_STR_MESSAGE);
502
503 zend_attribute *attribute_Deprecated_func_zip_entry_open_0 = zend_add_function_attribute(zend_hash_str_find_ptr(CG(function_table), "zip_entry_open", sizeof("zip_entry_open") - 1), ZSTR_KNOWN(ZEND_STR_DEPRECATED_CAPITALIZED), 1);
504 zval attribute_Deprecated_func_zip_entry_open_0_arg0;
505 zend_string *attribute_Deprecated_func_zip_entry_open_0_arg0_str = zend_string_init("8.0", strlen("8.0"), 1);
506 ZVAL_STR(&attribute_Deprecated_func_zip_entry_open_0_arg0, attribute_Deprecated_func_zip_entry_open_0_arg0_str);
507 ZVAL_COPY_VALUE(&attribute_Deprecated_func_zip_entry_open_0->args[0].value, &attribute_Deprecated_func_zip_entry_open_0_arg0);
508 attribute_Deprecated_func_zip_entry_open_0->args[0].name = ZSTR_KNOWN(ZEND_STR_SINCE);
509
510 zend_attribute *attribute_Deprecated_func_zip_entry_close_0 = zend_add_function_attribute(zend_hash_str_find_ptr(CG(function_table), "zip_entry_close", sizeof("zip_entry_close") - 1), ZSTR_KNOWN(ZEND_STR_DEPRECATED_CAPITALIZED), 1);
511 zval attribute_Deprecated_func_zip_entry_close_0_arg0;
512 zend_string *attribute_Deprecated_func_zip_entry_close_0_arg0_str = zend_string_init("8.0", strlen("8.0"), 1);
513 ZVAL_STR(&attribute_Deprecated_func_zip_entry_close_0_arg0, attribute_Deprecated_func_zip_entry_close_0_arg0_str);
514 ZVAL_COPY_VALUE(&attribute_Deprecated_func_zip_entry_close_0->args[0].value, &attribute_Deprecated_func_zip_entry_close_0_arg0);
515 attribute_Deprecated_func_zip_entry_close_0->args[0].name = ZSTR_KNOWN(ZEND_STR_SINCE);
516
517 zend_attribute *attribute_Deprecated_func_zip_entry_read_0 = zend_add_function_attribute(zend_hash_str_find_ptr(CG(function_table), "zip_entry_read", sizeof("zip_entry_read") - 1), ZSTR_KNOWN(ZEND_STR_DEPRECATED_CAPITALIZED), 2);
518 zval attribute_Deprecated_func_zip_entry_read_0_arg0;
519 zend_string *attribute_Deprecated_func_zip_entry_read_0_arg0_str = zend_string_init("8.0", strlen("8.0"), 1);
520 ZVAL_STR(&attribute_Deprecated_func_zip_entry_read_0_arg0, attribute_Deprecated_func_zip_entry_read_0_arg0_str);
521 ZVAL_COPY_VALUE(&attribute_Deprecated_func_zip_entry_read_0->args[0].value, &attribute_Deprecated_func_zip_entry_read_0_arg0);
522 attribute_Deprecated_func_zip_entry_read_0->args[0].name = ZSTR_KNOWN(ZEND_STR_SINCE);
523 zval attribute_Deprecated_func_zip_entry_read_0_arg1;
524 zend_string *attribute_Deprecated_func_zip_entry_read_0_arg1_str = zend_string_init("use ZipArchive::getFromIndex() instead", strlen("use ZipArchive::getFromIndex() instead"), 1);
525 ZVAL_STR(&attribute_Deprecated_func_zip_entry_read_0_arg1, attribute_Deprecated_func_zip_entry_read_0_arg1_str);
526 ZVAL_COPY_VALUE(&attribute_Deprecated_func_zip_entry_read_0->args[1].value, &attribute_Deprecated_func_zip_entry_read_0_arg1);
527 attribute_Deprecated_func_zip_entry_read_0->args[1].name = ZSTR_KNOWN(ZEND_STR_MESSAGE);
528
529 zend_attribute *attribute_Deprecated_func_zip_entry_name_0 = zend_add_function_attribute(zend_hash_str_find_ptr(CG(function_table), "zip_entry_name", sizeof("zip_entry_name") - 1), ZSTR_KNOWN(ZEND_STR_DEPRECATED_CAPITALIZED), 2);
530 zval attribute_Deprecated_func_zip_entry_name_0_arg0;
531 zend_string *attribute_Deprecated_func_zip_entry_name_0_arg0_str = zend_string_init("8.0", strlen("8.0"), 1);
532 ZVAL_STR(&attribute_Deprecated_func_zip_entry_name_0_arg0, attribute_Deprecated_func_zip_entry_name_0_arg0_str);
533 ZVAL_COPY_VALUE(&attribute_Deprecated_func_zip_entry_name_0->args[0].value, &attribute_Deprecated_func_zip_entry_name_0_arg0);
534 attribute_Deprecated_func_zip_entry_name_0->args[0].name = ZSTR_KNOWN(ZEND_STR_SINCE);
535 zval attribute_Deprecated_func_zip_entry_name_0_arg1;
536 zend_string *attribute_Deprecated_func_zip_entry_name_0_arg1_str = zend_string_init("use ZipArchive::statIndex() instead", strlen("use ZipArchive::statIndex() instead"), 1);
537 ZVAL_STR(&attribute_Deprecated_func_zip_entry_name_0_arg1, attribute_Deprecated_func_zip_entry_name_0_arg1_str);
538 ZVAL_COPY_VALUE(&attribute_Deprecated_func_zip_entry_name_0->args[1].value, &attribute_Deprecated_func_zip_entry_name_0_arg1);
539 attribute_Deprecated_func_zip_entry_name_0->args[1].name = ZSTR_KNOWN(ZEND_STR_MESSAGE);
540
541 zend_attribute *attribute_Deprecated_func_zip_entry_compressedsize_0 = zend_add_function_attribute(zend_hash_str_find_ptr(CG(function_table), "zip_entry_compressedsize", sizeof("zip_entry_compressedsize") - 1), ZSTR_KNOWN(ZEND_STR_DEPRECATED_CAPITALIZED), 2);
542 zval attribute_Deprecated_func_zip_entry_compressedsize_0_arg0;
543 zend_string *attribute_Deprecated_func_zip_entry_compressedsize_0_arg0_str = zend_string_init("8.0", strlen("8.0"), 1);
544 ZVAL_STR(&attribute_Deprecated_func_zip_entry_compressedsize_0_arg0, attribute_Deprecated_func_zip_entry_compressedsize_0_arg0_str);
545 ZVAL_COPY_VALUE(&attribute_Deprecated_func_zip_entry_compressedsize_0->args[0].value, &attribute_Deprecated_func_zip_entry_compressedsize_0_arg0);
546 attribute_Deprecated_func_zip_entry_compressedsize_0->args[0].name = ZSTR_KNOWN(ZEND_STR_SINCE);
547 zval attribute_Deprecated_func_zip_entry_compressedsize_0_arg1;
548 zend_string *attribute_Deprecated_func_zip_entry_compressedsize_0_arg1_str = zend_string_init("use ZipArchive::statIndex() instead", strlen("use ZipArchive::statIndex() instead"), 1);
549 ZVAL_STR(&attribute_Deprecated_func_zip_entry_compressedsize_0_arg1, attribute_Deprecated_func_zip_entry_compressedsize_0_arg1_str);
550 ZVAL_COPY_VALUE(&attribute_Deprecated_func_zip_entry_compressedsize_0->args[1].value, &attribute_Deprecated_func_zip_entry_compressedsize_0_arg1);
551 attribute_Deprecated_func_zip_entry_compressedsize_0->args[1].name = ZSTR_KNOWN(ZEND_STR_MESSAGE);
552
553 zend_attribute *attribute_Deprecated_func_zip_entry_filesize_0 = zend_add_function_attribute(zend_hash_str_find_ptr(CG(function_table), "zip_entry_filesize", sizeof("zip_entry_filesize") - 1), ZSTR_KNOWN(ZEND_STR_DEPRECATED_CAPITALIZED), 2);
554 zval attribute_Deprecated_func_zip_entry_filesize_0_arg0;
555 zend_string *attribute_Deprecated_func_zip_entry_filesize_0_arg0_str = zend_string_init("8.0", strlen("8.0"), 1);
556 ZVAL_STR(&attribute_Deprecated_func_zip_entry_filesize_0_arg0, attribute_Deprecated_func_zip_entry_filesize_0_arg0_str);
557 ZVAL_COPY_VALUE(&attribute_Deprecated_func_zip_entry_filesize_0->args[0].value, &attribute_Deprecated_func_zip_entry_filesize_0_arg0);
558 attribute_Deprecated_func_zip_entry_filesize_0->args[0].name = ZSTR_KNOWN(ZEND_STR_SINCE);
559 zval attribute_Deprecated_func_zip_entry_filesize_0_arg1;
560 zend_string *attribute_Deprecated_func_zip_entry_filesize_0_arg1_str = zend_string_init("use ZipArchive::statIndex() instead", strlen("use ZipArchive::statIndex() instead"), 1);
561 ZVAL_STR(&attribute_Deprecated_func_zip_entry_filesize_0_arg1, attribute_Deprecated_func_zip_entry_filesize_0_arg1_str);
562 ZVAL_COPY_VALUE(&attribute_Deprecated_func_zip_entry_filesize_0->args[1].value, &attribute_Deprecated_func_zip_entry_filesize_0_arg1);
563 attribute_Deprecated_func_zip_entry_filesize_0->args[1].name = ZSTR_KNOWN(ZEND_STR_MESSAGE);
564
565 zend_attribute *attribute_Deprecated_func_zip_entry_compressionmethod_0 = zend_add_function_attribute(zend_hash_str_find_ptr(CG(function_table), "zip_entry_compressionmethod", sizeof("zip_entry_compressionmethod") - 1), ZSTR_KNOWN(ZEND_STR_DEPRECATED_CAPITALIZED), 2);
566 zval attribute_Deprecated_func_zip_entry_compressionmethod_0_arg0;
567 zend_string *attribute_Deprecated_func_zip_entry_compressionmethod_0_arg0_str = zend_string_init("8.0", strlen("8.0"), 1);
568 ZVAL_STR(&attribute_Deprecated_func_zip_entry_compressionmethod_0_arg0, attribute_Deprecated_func_zip_entry_compressionmethod_0_arg0_str);
569 ZVAL_COPY_VALUE(&attribute_Deprecated_func_zip_entry_compressionmethod_0->args[0].value, &attribute_Deprecated_func_zip_entry_compressionmethod_0_arg0);
570 attribute_Deprecated_func_zip_entry_compressionmethod_0->args[0].name = ZSTR_KNOWN(ZEND_STR_SINCE);
571 zval attribute_Deprecated_func_zip_entry_compressionmethod_0_arg1;
572 zend_string *attribute_Deprecated_func_zip_entry_compressionmethod_0_arg1_str = zend_string_init("use ZipArchive::statIndex() instead", strlen("use ZipArchive::statIndex() instead"), 1);
573 ZVAL_STR(&attribute_Deprecated_func_zip_entry_compressionmethod_0_arg1, attribute_Deprecated_func_zip_entry_compressionmethod_0_arg1_str);
574 ZVAL_COPY_VALUE(&attribute_Deprecated_func_zip_entry_compressionmethod_0->args[1].value, &attribute_Deprecated_func_zip_entry_compressionmethod_0_arg1);
575 attribute_Deprecated_func_zip_entry_compressionmethod_0->args[1].name = ZSTR_KNOWN(ZEND_STR_MESSAGE);
576}
577
578static zend_class_entry *register_class_ZipArchive(zend_class_entry *class_entry_Countable)
579{
580 zend_class_entry ce, *class_entry;
581
582 INIT_CLASS_ENTRY(ce, "ZipArchive", class_ZipArchive_methods);
583 class_entry = zend_register_internal_class_with_flags(&ce, NULL, 0);
584 zend_class_implements(class_entry, 1, class_entry_Countable);
585
586 zval const_CREATE_value;
587 ZVAL_LONG(&const_CREATE_value, ZIP_CREATE);
588 zend_string *const_CREATE_name = zend_string_init_interned("CREATE", sizeof("CREATE") - 1, 1);
589 zend_declare_typed_class_constant(class_entry, const_CREATE_name, &const_CREATE_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
590 zend_string_release(const_CREATE_name);
591
592 zval const_EXCL_value;
593 ZVAL_LONG(&const_EXCL_value, ZIP_EXCL);
594 zend_string *const_EXCL_name = zend_string_init_interned("EXCL", sizeof("EXCL") - 1, 1);
595 zend_declare_typed_class_constant(class_entry, const_EXCL_name, &const_EXCL_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
596 zend_string_release(const_EXCL_name);
597
598 zval const_CHECKCONS_value;
599 ZVAL_LONG(&const_CHECKCONS_value, ZIP_CHECKCONS);
600 zend_string *const_CHECKCONS_name = zend_string_init_interned("CHECKCONS", sizeof("CHECKCONS") - 1, 1);
601 zend_declare_typed_class_constant(class_entry, const_CHECKCONS_name, &const_CHECKCONS_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
602 zend_string_release(const_CHECKCONS_name);
603
604 zval const_OVERWRITE_value;
605 ZVAL_LONG(&const_OVERWRITE_value, ZIP_OVERWRITE);
606 zend_string *const_OVERWRITE_name = zend_string_init_interned("OVERWRITE", sizeof("OVERWRITE") - 1, 1);
607 zend_declare_typed_class_constant(class_entry, const_OVERWRITE_name, &const_OVERWRITE_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
608 zend_string_release(const_OVERWRITE_name);
609#if defined(ZIP_RDONLY)
610
611 zval const_RDONLY_value;
612 ZVAL_LONG(&const_RDONLY_value, ZIP_RDONLY);
613 zend_string *const_RDONLY_name = zend_string_init_interned("RDONLY", sizeof("RDONLY") - 1, 1);
614 zend_declare_typed_class_constant(class_entry, const_RDONLY_name, &const_RDONLY_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
615 zend_string_release(const_RDONLY_name);
616#endif
617
618 zval const_FL_NOCASE_value;
619 ZVAL_LONG(&const_FL_NOCASE_value, ZIP_FL_NOCASE);
620 zend_string *const_FL_NOCASE_name = zend_string_init_interned("FL_NOCASE", sizeof("FL_NOCASE") - 1, 1);
621 zend_declare_typed_class_constant(class_entry, const_FL_NOCASE_name, &const_FL_NOCASE_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
622 zend_string_release(const_FL_NOCASE_name);
623
624 zval const_FL_NODIR_value;
625 ZVAL_LONG(&const_FL_NODIR_value, ZIP_FL_NODIR);
626 zend_string *const_FL_NODIR_name = zend_string_init_interned("FL_NODIR", sizeof("FL_NODIR") - 1, 1);
627 zend_declare_typed_class_constant(class_entry, const_FL_NODIR_name, &const_FL_NODIR_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
628 zend_string_release(const_FL_NODIR_name);
629
630 zval const_FL_COMPRESSED_value;
631 ZVAL_LONG(&const_FL_COMPRESSED_value, ZIP_FL_COMPRESSED);
632 zend_string *const_FL_COMPRESSED_name = zend_string_init_interned("FL_COMPRESSED", sizeof("FL_COMPRESSED") - 1, 1);
633 zend_declare_typed_class_constant(class_entry, const_FL_COMPRESSED_name, &const_FL_COMPRESSED_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
634 zend_string_release(const_FL_COMPRESSED_name);
635
636 zval const_FL_UNCHANGED_value;
637 ZVAL_LONG(&const_FL_UNCHANGED_value, ZIP_FL_UNCHANGED);
638 zend_string *const_FL_UNCHANGED_name = zend_string_init_interned("FL_UNCHANGED", sizeof("FL_UNCHANGED") - 1, 1);
639 zend_declare_typed_class_constant(class_entry, const_FL_UNCHANGED_name, &const_FL_UNCHANGED_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
640 zend_string_release(const_FL_UNCHANGED_name);
641#if defined(ZIP_FL_RECOMPRESS)
642
643 zval const_FL_RECOMPRESS_value;
644 ZVAL_LONG(&const_FL_RECOMPRESS_value, ZIP_FL_RECOMPRESS);
645 zend_string *const_FL_RECOMPRESS_name = zend_string_init_interned("FL_RECOMPRESS", sizeof("FL_RECOMPRESS") - 1, 1);
646 zend_class_constant *const_FL_RECOMPRESS = zend_declare_typed_class_constant(class_entry, const_FL_RECOMPRESS_name, &const_FL_RECOMPRESS_value, ZEND_ACC_PUBLIC|ZEND_ACC_DEPRECATED, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
647 zend_string_release(const_FL_RECOMPRESS_name);
648#endif
649
650 zval const_FL_ENCRYPTED_value;
651 ZVAL_LONG(&const_FL_ENCRYPTED_value, ZIP_FL_ENCRYPTED);
652 zend_string *const_FL_ENCRYPTED_name = zend_string_init_interned("FL_ENCRYPTED", sizeof("FL_ENCRYPTED") - 1, 1);
653 zend_declare_typed_class_constant(class_entry, const_FL_ENCRYPTED_name, &const_FL_ENCRYPTED_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
654 zend_string_release(const_FL_ENCRYPTED_name);
655
656 zval const_FL_OVERWRITE_value;
657 ZVAL_LONG(&const_FL_OVERWRITE_value, ZIP_FL_OVERWRITE);
658 zend_string *const_FL_OVERWRITE_name = zend_string_init_interned("FL_OVERWRITE", sizeof("FL_OVERWRITE") - 1, 1);
659 zend_declare_typed_class_constant(class_entry, const_FL_OVERWRITE_name, &const_FL_OVERWRITE_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
660 zend_string_release(const_FL_OVERWRITE_name);
661
662 zval const_FL_LOCAL_value;
663 ZVAL_LONG(&const_FL_LOCAL_value, ZIP_FL_LOCAL);
664 zend_string *const_FL_LOCAL_name = zend_string_init_interned("FL_LOCAL", sizeof("FL_LOCAL") - 1, 1);
665 zend_declare_typed_class_constant(class_entry, const_FL_LOCAL_name, &const_FL_LOCAL_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
666 zend_string_release(const_FL_LOCAL_name);
667
668 zval const_FL_CENTRAL_value;
669 ZVAL_LONG(&const_FL_CENTRAL_value, ZIP_FL_CENTRAL);
670 zend_string *const_FL_CENTRAL_name = zend_string_init_interned("FL_CENTRAL", sizeof("FL_CENTRAL") - 1, 1);
671 zend_declare_typed_class_constant(class_entry, const_FL_CENTRAL_name, &const_FL_CENTRAL_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
672 zend_string_release(const_FL_CENTRAL_name);
673
674 zval const_FL_ENC_GUESS_value;
675 ZVAL_LONG(&const_FL_ENC_GUESS_value, ZIP_FL_ENC_GUESS);
676 zend_string *const_FL_ENC_GUESS_name = zend_string_init_interned("FL_ENC_GUESS", sizeof("FL_ENC_GUESS") - 1, 1);
677 zend_declare_typed_class_constant(class_entry, const_FL_ENC_GUESS_name, &const_FL_ENC_GUESS_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
678 zend_string_release(const_FL_ENC_GUESS_name);
679
680 zval const_FL_ENC_RAW_value;
681 ZVAL_LONG(&const_FL_ENC_RAW_value, ZIP_FL_ENC_RAW);
682 zend_string *const_FL_ENC_RAW_name = zend_string_init_interned("FL_ENC_RAW", sizeof("FL_ENC_RAW") - 1, 1);
683 zend_declare_typed_class_constant(class_entry, const_FL_ENC_RAW_name, &const_FL_ENC_RAW_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
684 zend_string_release(const_FL_ENC_RAW_name);
685
686 zval const_FL_ENC_STRICT_value;
687 ZVAL_LONG(&const_FL_ENC_STRICT_value, ZIP_FL_ENC_STRICT);
688 zend_string *const_FL_ENC_STRICT_name = zend_string_init_interned("FL_ENC_STRICT", sizeof("FL_ENC_STRICT") - 1, 1);
689 zend_declare_typed_class_constant(class_entry, const_FL_ENC_STRICT_name, &const_FL_ENC_STRICT_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
690 zend_string_release(const_FL_ENC_STRICT_name);
691
692 zval const_FL_ENC_UTF_8_value;
693 ZVAL_LONG(&const_FL_ENC_UTF_8_value, ZIP_FL_ENC_UTF_8);
694 zend_string *const_FL_ENC_UTF_8_name = zend_string_init_interned("FL_ENC_UTF_8", sizeof("FL_ENC_UTF_8") - 1, 1);
695 zend_declare_typed_class_constant(class_entry, const_FL_ENC_UTF_8_name, &const_FL_ENC_UTF_8_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
696 zend_string_release(const_FL_ENC_UTF_8_name);
697
698 zval const_FL_ENC_CP437_value;
699 ZVAL_LONG(&const_FL_ENC_CP437_value, ZIP_FL_ENC_CP437);
700 zend_string *const_FL_ENC_CP437_name = zend_string_init_interned("FL_ENC_CP437", sizeof("FL_ENC_CP437") - 1, 1);
701 zend_declare_typed_class_constant(class_entry, const_FL_ENC_CP437_name, &const_FL_ENC_CP437_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
702 zend_string_release(const_FL_ENC_CP437_name);
703
704 zval const_FL_OPEN_FILE_NOW_value;
705 ZVAL_LONG(&const_FL_OPEN_FILE_NOW_value, ZIP_FL_OPEN_FILE_NOW);
706 zend_string *const_FL_OPEN_FILE_NOW_name = zend_string_init_interned("FL_OPEN_FILE_NOW", sizeof("FL_OPEN_FILE_NOW") - 1, 1);
707 zend_declare_typed_class_constant(class_entry, const_FL_OPEN_FILE_NOW_name, &const_FL_OPEN_FILE_NOW_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
708 zend_string_release(const_FL_OPEN_FILE_NOW_name);
709
710 zval const_CM_DEFAULT_value;
711 ZVAL_LONG(&const_CM_DEFAULT_value, ZIP_CM_DEFAULT);
712 zend_string *const_CM_DEFAULT_name = zend_string_init_interned("CM_DEFAULT", sizeof("CM_DEFAULT") - 1, 1);
713 zend_declare_typed_class_constant(class_entry, const_CM_DEFAULT_name, &const_CM_DEFAULT_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
714 zend_string_release(const_CM_DEFAULT_name);
715
716 zval const_CM_STORE_value;
717 ZVAL_LONG(&const_CM_STORE_value, ZIP_CM_STORE);
718 zend_string *const_CM_STORE_name = zend_string_init_interned("CM_STORE", sizeof("CM_STORE") - 1, 1);
719 zend_declare_typed_class_constant(class_entry, const_CM_STORE_name, &const_CM_STORE_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
720 zend_string_release(const_CM_STORE_name);
721
722 zval const_CM_SHRINK_value;
723 ZVAL_LONG(&const_CM_SHRINK_value, ZIP_CM_SHRINK);
724 zend_string *const_CM_SHRINK_name = zend_string_init_interned("CM_SHRINK", sizeof("CM_SHRINK") - 1, 1);
725 zend_declare_typed_class_constant(class_entry, const_CM_SHRINK_name, &const_CM_SHRINK_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
726 zend_string_release(const_CM_SHRINK_name);
727
728 zval const_CM_REDUCE_1_value;
729 ZVAL_LONG(&const_CM_REDUCE_1_value, ZIP_CM_REDUCE_1);
730 zend_string *const_CM_REDUCE_1_name = zend_string_init_interned("CM_REDUCE_1", sizeof("CM_REDUCE_1") - 1, 1);
731 zend_declare_typed_class_constant(class_entry, const_CM_REDUCE_1_name, &const_CM_REDUCE_1_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
732 zend_string_release(const_CM_REDUCE_1_name);
733
734 zval const_CM_REDUCE_2_value;
735 ZVAL_LONG(&const_CM_REDUCE_2_value, ZIP_CM_REDUCE_2);
736 zend_string *const_CM_REDUCE_2_name = zend_string_init_interned("CM_REDUCE_2", sizeof("CM_REDUCE_2") - 1, 1);
737 zend_declare_typed_class_constant(class_entry, const_CM_REDUCE_2_name, &const_CM_REDUCE_2_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
738 zend_string_release(const_CM_REDUCE_2_name);
739
740 zval const_CM_REDUCE_3_value;
741 ZVAL_LONG(&const_CM_REDUCE_3_value, ZIP_CM_REDUCE_3);
742 zend_string *const_CM_REDUCE_3_name = zend_string_init_interned("CM_REDUCE_3", sizeof("CM_REDUCE_3") - 1, 1);
743 zend_declare_typed_class_constant(class_entry, const_CM_REDUCE_3_name, &const_CM_REDUCE_3_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
744 zend_string_release(const_CM_REDUCE_3_name);
745
746 zval const_CM_REDUCE_4_value;
747 ZVAL_LONG(&const_CM_REDUCE_4_value, ZIP_CM_REDUCE_4);
748 zend_string *const_CM_REDUCE_4_name = zend_string_init_interned("CM_REDUCE_4", sizeof("CM_REDUCE_4") - 1, 1);
749 zend_declare_typed_class_constant(class_entry, const_CM_REDUCE_4_name, &const_CM_REDUCE_4_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
750 zend_string_release(const_CM_REDUCE_4_name);
751
752 zval const_CM_IMPLODE_value;
753 ZVAL_LONG(&const_CM_IMPLODE_value, ZIP_CM_IMPLODE);
754 zend_string *const_CM_IMPLODE_name = zend_string_init_interned("CM_IMPLODE", sizeof("CM_IMPLODE") - 1, 1);
755 zend_declare_typed_class_constant(class_entry, const_CM_IMPLODE_name, &const_CM_IMPLODE_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
756 zend_string_release(const_CM_IMPLODE_name);
757
758 zval const_CM_DEFLATE_value;
759 ZVAL_LONG(&const_CM_DEFLATE_value, ZIP_CM_DEFLATE);
760 zend_string *const_CM_DEFLATE_name = zend_string_init_interned("CM_DEFLATE", sizeof("CM_DEFLATE") - 1, 1);
761 zend_declare_typed_class_constant(class_entry, const_CM_DEFLATE_name, &const_CM_DEFLATE_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
762 zend_string_release(const_CM_DEFLATE_name);
763
764 zval const_CM_DEFLATE64_value;
765 ZVAL_LONG(&const_CM_DEFLATE64_value, ZIP_CM_DEFLATE64);
766 zend_string *const_CM_DEFLATE64_name = zend_string_init_interned("CM_DEFLATE64", sizeof("CM_DEFLATE64") - 1, 1);
767 zend_declare_typed_class_constant(class_entry, const_CM_DEFLATE64_name, &const_CM_DEFLATE64_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
768 zend_string_release(const_CM_DEFLATE64_name);
769
770 zval const_CM_PKWARE_IMPLODE_value;
771 ZVAL_LONG(&const_CM_PKWARE_IMPLODE_value, ZIP_CM_PKWARE_IMPLODE);
772 zend_string *const_CM_PKWARE_IMPLODE_name = zend_string_init_interned("CM_PKWARE_IMPLODE", sizeof("CM_PKWARE_IMPLODE") - 1, 1);
773 zend_declare_typed_class_constant(class_entry, const_CM_PKWARE_IMPLODE_name, &const_CM_PKWARE_IMPLODE_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
774 zend_string_release(const_CM_PKWARE_IMPLODE_name);
775
776 zval const_CM_BZIP2_value;
777 ZVAL_LONG(&const_CM_BZIP2_value, ZIP_CM_BZIP2);
778 zend_string *const_CM_BZIP2_name = zend_string_init_interned("CM_BZIP2", sizeof("CM_BZIP2") - 1, 1);
779 zend_declare_typed_class_constant(class_entry, const_CM_BZIP2_name, &const_CM_BZIP2_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
780 zend_string_release(const_CM_BZIP2_name);
781
782 zval const_CM_LZMA_value;
783 ZVAL_LONG(&const_CM_LZMA_value, ZIP_CM_LZMA);
784 zend_string *const_CM_LZMA_name = zend_string_init_interned("CM_LZMA", sizeof("CM_LZMA") - 1, 1);
785 zend_declare_typed_class_constant(class_entry, const_CM_LZMA_name, &const_CM_LZMA_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
786 zend_string_release(const_CM_LZMA_name);
787#if defined(ZIP_CM_LZMA2)
788
789 zval const_CM_LZMA2_value;
790 ZVAL_LONG(&const_CM_LZMA2_value, ZIP_CM_LZMA2);
791 zend_string *const_CM_LZMA2_name = zend_string_init_interned("CM_LZMA2", sizeof("CM_LZMA2") - 1, 1);
792 zend_declare_typed_class_constant(class_entry, const_CM_LZMA2_name, &const_CM_LZMA2_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
793 zend_string_release(const_CM_LZMA2_name);
794#endif
795#if defined(ZIP_CM_ZSTD)
796
797 zval const_CM_ZSTD_value;
798 ZVAL_LONG(&const_CM_ZSTD_value, ZIP_CM_ZSTD);
799 zend_string *const_CM_ZSTD_name = zend_string_init_interned("CM_ZSTD", sizeof("CM_ZSTD") - 1, 1);
800 zend_declare_typed_class_constant(class_entry, const_CM_ZSTD_name, &const_CM_ZSTD_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
801 zend_string_release(const_CM_ZSTD_name);
802#endif
803#if defined(ZIP_CM_XZ)
804
805 zval const_CM_XZ_value;
806 ZVAL_LONG(&const_CM_XZ_value, ZIP_CM_XZ);
807 zend_string *const_CM_XZ_name = zend_string_init_interned("CM_XZ", sizeof("CM_XZ") - 1, 1);
808 zend_declare_typed_class_constant(class_entry, const_CM_XZ_name, &const_CM_XZ_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
809 zend_string_release(const_CM_XZ_name);
810#endif
811
812 zval const_CM_TERSE_value;
813 ZVAL_LONG(&const_CM_TERSE_value, ZIP_CM_TERSE);
814 zend_string *const_CM_TERSE_name = zend_string_init_interned("CM_TERSE", sizeof("CM_TERSE") - 1, 1);
815 zend_declare_typed_class_constant(class_entry, const_CM_TERSE_name, &const_CM_TERSE_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
816 zend_string_release(const_CM_TERSE_name);
817
818 zval const_CM_LZ77_value;
819 ZVAL_LONG(&const_CM_LZ77_value, ZIP_CM_LZ77);
820 zend_string *const_CM_LZ77_name = zend_string_init_interned("CM_LZ77", sizeof("CM_LZ77") - 1, 1);
821 zend_declare_typed_class_constant(class_entry, const_CM_LZ77_name, &const_CM_LZ77_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
822 zend_string_release(const_CM_LZ77_name);
823
824 zval const_CM_WAVPACK_value;
825 ZVAL_LONG(&const_CM_WAVPACK_value, ZIP_CM_WAVPACK);
826 zend_string *const_CM_WAVPACK_name = zend_string_init_interned("CM_WAVPACK", sizeof("CM_WAVPACK") - 1, 1);
827 zend_declare_typed_class_constant(class_entry, const_CM_WAVPACK_name, &const_CM_WAVPACK_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
828 zend_string_release(const_CM_WAVPACK_name);
829
830 zval const_CM_PPMD_value;
831 ZVAL_LONG(&const_CM_PPMD_value, ZIP_CM_PPMD);
832 zend_string *const_CM_PPMD_name = zend_string_init_interned("CM_PPMD", sizeof("CM_PPMD") - 1, 1);
833 zend_declare_typed_class_constant(class_entry, const_CM_PPMD_name, &const_CM_PPMD_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
834 zend_string_release(const_CM_PPMD_name);
835
836 zval const_ER_OK_value;
837 ZVAL_LONG(&const_ER_OK_value, ZIP_ER_OK);
838 zend_string *const_ER_OK_name = zend_string_init_interned("ER_OK", sizeof("ER_OK") - 1, 1);
839 zend_declare_typed_class_constant(class_entry, const_ER_OK_name, &const_ER_OK_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
840 zend_string_release(const_ER_OK_name);
841
842 zval const_ER_MULTIDISK_value;
843 ZVAL_LONG(&const_ER_MULTIDISK_value, ZIP_ER_MULTIDISK);
844 zend_string *const_ER_MULTIDISK_name = zend_string_init_interned("ER_MULTIDISK", sizeof("ER_MULTIDISK") - 1, 1);
845 zend_declare_typed_class_constant(class_entry, const_ER_MULTIDISK_name, &const_ER_MULTIDISK_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
846 zend_string_release(const_ER_MULTIDISK_name);
847
848 zval const_ER_RENAME_value;
849 ZVAL_LONG(&const_ER_RENAME_value, ZIP_ER_RENAME);
850 zend_string *const_ER_RENAME_name = zend_string_init_interned("ER_RENAME", sizeof("ER_RENAME") - 1, 1);
851 zend_declare_typed_class_constant(class_entry, const_ER_RENAME_name, &const_ER_RENAME_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
852 zend_string_release(const_ER_RENAME_name);
853
854 zval const_ER_CLOSE_value;
855 ZVAL_LONG(&const_ER_CLOSE_value, ZIP_ER_CLOSE);
856 zend_string *const_ER_CLOSE_name = zend_string_init_interned("ER_CLOSE", sizeof("ER_CLOSE") - 1, 1);
857 zend_declare_typed_class_constant(class_entry, const_ER_CLOSE_name, &const_ER_CLOSE_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
858 zend_string_release(const_ER_CLOSE_name);
859
860 zval const_ER_SEEK_value;
861 ZVAL_LONG(&const_ER_SEEK_value, ZIP_ER_SEEK);
862 zend_string *const_ER_SEEK_name = zend_string_init_interned("ER_SEEK", sizeof("ER_SEEK") - 1, 1);
863 zend_declare_typed_class_constant(class_entry, const_ER_SEEK_name, &const_ER_SEEK_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
864 zend_string_release(const_ER_SEEK_name);
865
866 zval const_ER_READ_value;
867 ZVAL_LONG(&const_ER_READ_value, ZIP_ER_READ);
868 zend_string *const_ER_READ_name = zend_string_init_interned("ER_READ", sizeof("ER_READ") - 1, 1);
869 zend_declare_typed_class_constant(class_entry, const_ER_READ_name, &const_ER_READ_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
870 zend_string_release(const_ER_READ_name);
871
872 zval const_ER_WRITE_value;
873 ZVAL_LONG(&const_ER_WRITE_value, ZIP_ER_WRITE);
874 zend_string *const_ER_WRITE_name = zend_string_init_interned("ER_WRITE", sizeof("ER_WRITE") - 1, 1);
875 zend_declare_typed_class_constant(class_entry, const_ER_WRITE_name, &const_ER_WRITE_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
876 zend_string_release(const_ER_WRITE_name);
877
878 zval const_ER_CRC_value;
879 ZVAL_LONG(&const_ER_CRC_value, ZIP_ER_CRC);
880 zend_string *const_ER_CRC_name = zend_string_init_interned("ER_CRC", sizeof("ER_CRC") - 1, 1);
881 zend_declare_typed_class_constant(class_entry, const_ER_CRC_name, &const_ER_CRC_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
882 zend_string_release(const_ER_CRC_name);
883
884 zval const_ER_ZIPCLOSED_value;
885 ZVAL_LONG(&const_ER_ZIPCLOSED_value, ZIP_ER_ZIPCLOSED);
886 zend_string *const_ER_ZIPCLOSED_name = zend_string_init_interned("ER_ZIPCLOSED", sizeof("ER_ZIPCLOSED") - 1, 1);
887 zend_declare_typed_class_constant(class_entry, const_ER_ZIPCLOSED_name, &const_ER_ZIPCLOSED_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
888 zend_string_release(const_ER_ZIPCLOSED_name);
889
890 zval const_ER_NOENT_value;
891 ZVAL_LONG(&const_ER_NOENT_value, ZIP_ER_NOENT);
892 zend_string *const_ER_NOENT_name = zend_string_init_interned("ER_NOENT", sizeof("ER_NOENT") - 1, 1);
893 zend_declare_typed_class_constant(class_entry, const_ER_NOENT_name, &const_ER_NOENT_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
894 zend_string_release(const_ER_NOENT_name);
895
896 zval const_ER_EXISTS_value;
897 ZVAL_LONG(&const_ER_EXISTS_value, ZIP_ER_EXISTS);
898 zend_string *const_ER_EXISTS_name = zend_string_init_interned("ER_EXISTS", sizeof("ER_EXISTS") - 1, 1);
899 zend_declare_typed_class_constant(class_entry, const_ER_EXISTS_name, &const_ER_EXISTS_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
900 zend_string_release(const_ER_EXISTS_name);
901
902 zval const_ER_OPEN_value;
903 ZVAL_LONG(&const_ER_OPEN_value, ZIP_ER_OPEN);
904 zend_string *const_ER_OPEN_name = zend_string_init_interned("ER_OPEN", sizeof("ER_OPEN") - 1, 1);
905 zend_declare_typed_class_constant(class_entry, const_ER_OPEN_name, &const_ER_OPEN_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
906 zend_string_release(const_ER_OPEN_name);
907
908 zval const_ER_TMPOPEN_value;
909 ZVAL_LONG(&const_ER_TMPOPEN_value, ZIP_ER_TMPOPEN);
910 zend_string *const_ER_TMPOPEN_name = zend_string_init_interned("ER_TMPOPEN", sizeof("ER_TMPOPEN") - 1, 1);
911 zend_declare_typed_class_constant(class_entry, const_ER_TMPOPEN_name, &const_ER_TMPOPEN_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
912 zend_string_release(const_ER_TMPOPEN_name);
913
914 zval const_ER_ZLIB_value;
915 ZVAL_LONG(&const_ER_ZLIB_value, ZIP_ER_ZLIB);
916 zend_string *const_ER_ZLIB_name = zend_string_init_interned("ER_ZLIB", sizeof("ER_ZLIB") - 1, 1);
917 zend_declare_typed_class_constant(class_entry, const_ER_ZLIB_name, &const_ER_ZLIB_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
918 zend_string_release(const_ER_ZLIB_name);
919
920 zval const_ER_MEMORY_value;
921 ZVAL_LONG(&const_ER_MEMORY_value, ZIP_ER_MEMORY);
922 zend_string *const_ER_MEMORY_name = zend_string_init_interned("ER_MEMORY", sizeof("ER_MEMORY") - 1, 1);
923 zend_declare_typed_class_constant(class_entry, const_ER_MEMORY_name, &const_ER_MEMORY_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
924 zend_string_release(const_ER_MEMORY_name);
925
926 zval const_ER_CHANGED_value;
927 ZVAL_LONG(&const_ER_CHANGED_value, ZIP_ER_CHANGED);
928 zend_string *const_ER_CHANGED_name = zend_string_init_interned("ER_CHANGED", sizeof("ER_CHANGED") - 1, 1);
929 zend_declare_typed_class_constant(class_entry, const_ER_CHANGED_name, &const_ER_CHANGED_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
930 zend_string_release(const_ER_CHANGED_name);
931
932 zval const_ER_COMPNOTSUPP_value;
933 ZVAL_LONG(&const_ER_COMPNOTSUPP_value, ZIP_ER_COMPNOTSUPP);
934 zend_string *const_ER_COMPNOTSUPP_name = zend_string_init_interned("ER_COMPNOTSUPP", sizeof("ER_COMPNOTSUPP") - 1, 1);
935 zend_declare_typed_class_constant(class_entry, const_ER_COMPNOTSUPP_name, &const_ER_COMPNOTSUPP_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
936 zend_string_release(const_ER_COMPNOTSUPP_name);
937
938 zval const_ER_EOF_value;
939 ZVAL_LONG(&const_ER_EOF_value, ZIP_ER_EOF);
940 zend_string *const_ER_EOF_name = zend_string_init_interned("ER_EOF", sizeof("ER_EOF") - 1, 1);
941 zend_declare_typed_class_constant(class_entry, const_ER_EOF_name, &const_ER_EOF_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
942 zend_string_release(const_ER_EOF_name);
943
944 zval const_ER_INVAL_value;
945 ZVAL_LONG(&const_ER_INVAL_value, ZIP_ER_INVAL);
946 zend_string *const_ER_INVAL_name = zend_string_init_interned("ER_INVAL", sizeof("ER_INVAL") - 1, 1);
947 zend_declare_typed_class_constant(class_entry, const_ER_INVAL_name, &const_ER_INVAL_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
948 zend_string_release(const_ER_INVAL_name);
949
950 zval const_ER_NOZIP_value;
951 ZVAL_LONG(&const_ER_NOZIP_value, ZIP_ER_NOZIP);
952 zend_string *const_ER_NOZIP_name = zend_string_init_interned("ER_NOZIP", sizeof("ER_NOZIP") - 1, 1);
953 zend_declare_typed_class_constant(class_entry, const_ER_NOZIP_name, &const_ER_NOZIP_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
954 zend_string_release(const_ER_NOZIP_name);
955
956 zval const_ER_INTERNAL_value;
957 ZVAL_LONG(&const_ER_INTERNAL_value, ZIP_ER_INTERNAL);
958 zend_string *const_ER_INTERNAL_name = zend_string_init_interned("ER_INTERNAL", sizeof("ER_INTERNAL") - 1, 1);
959 zend_declare_typed_class_constant(class_entry, const_ER_INTERNAL_name, &const_ER_INTERNAL_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
960 zend_string_release(const_ER_INTERNAL_name);
961
962 zval const_ER_INCONS_value;
963 ZVAL_LONG(&const_ER_INCONS_value, ZIP_ER_INCONS);
964 zend_string *const_ER_INCONS_name = zend_string_init_interned("ER_INCONS", sizeof("ER_INCONS") - 1, 1);
965 zend_declare_typed_class_constant(class_entry, const_ER_INCONS_name, &const_ER_INCONS_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
966 zend_string_release(const_ER_INCONS_name);
967
968 zval const_ER_REMOVE_value;
969 ZVAL_LONG(&const_ER_REMOVE_value, ZIP_ER_REMOVE);
970 zend_string *const_ER_REMOVE_name = zend_string_init_interned("ER_REMOVE", sizeof("ER_REMOVE") - 1, 1);
971 zend_declare_typed_class_constant(class_entry, const_ER_REMOVE_name, &const_ER_REMOVE_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
972 zend_string_release(const_ER_REMOVE_name);
973
974 zval const_ER_DELETED_value;
975 ZVAL_LONG(&const_ER_DELETED_value, ZIP_ER_DELETED);
976 zend_string *const_ER_DELETED_name = zend_string_init_interned("ER_DELETED", sizeof("ER_DELETED") - 1, 1);
977 zend_declare_typed_class_constant(class_entry, const_ER_DELETED_name, &const_ER_DELETED_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
978 zend_string_release(const_ER_DELETED_name);
979
980 zval const_ER_ENCRNOTSUPP_value;
981 ZVAL_LONG(&const_ER_ENCRNOTSUPP_value, ZIP_ER_ENCRNOTSUPP);
982 zend_string *const_ER_ENCRNOTSUPP_name = zend_string_init_interned("ER_ENCRNOTSUPP", sizeof("ER_ENCRNOTSUPP") - 1, 1);
983 zend_declare_typed_class_constant(class_entry, const_ER_ENCRNOTSUPP_name, &const_ER_ENCRNOTSUPP_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
984 zend_string_release(const_ER_ENCRNOTSUPP_name);
985
986 zval const_ER_RDONLY_value;
987 ZVAL_LONG(&const_ER_RDONLY_value, ZIP_ER_RDONLY);
988 zend_string *const_ER_RDONLY_name = zend_string_init_interned("ER_RDONLY", sizeof("ER_RDONLY") - 1, 1);
989 zend_declare_typed_class_constant(class_entry, const_ER_RDONLY_name, &const_ER_RDONLY_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
990 zend_string_release(const_ER_RDONLY_name);
991
992 zval const_ER_NOPASSWD_value;
993 ZVAL_LONG(&const_ER_NOPASSWD_value, ZIP_ER_NOPASSWD);
994 zend_string *const_ER_NOPASSWD_name = zend_string_init_interned("ER_NOPASSWD", sizeof("ER_NOPASSWD") - 1, 1);
995 zend_declare_typed_class_constant(class_entry, const_ER_NOPASSWD_name, &const_ER_NOPASSWD_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
996 zend_string_release(const_ER_NOPASSWD_name);
997
998 zval const_ER_WRONGPASSWD_value;
999 ZVAL_LONG(&const_ER_WRONGPASSWD_value, ZIP_ER_WRONGPASSWD);
1000 zend_string *const_ER_WRONGPASSWD_name = zend_string_init_interned("ER_WRONGPASSWD", sizeof("ER_WRONGPASSWD") - 1, 1);
1001 zend_declare_typed_class_constant(class_entry, const_ER_WRONGPASSWD_name, &const_ER_WRONGPASSWD_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1002 zend_string_release(const_ER_WRONGPASSWD_name);
1003#if defined(ZIP_ER_OPNOTSUPP)
1004
1005 zval const_ER_OPNOTSUPP_value;
1006 ZVAL_LONG(&const_ER_OPNOTSUPP_value, ZIP_ER_OPNOTSUPP);
1007 zend_string *const_ER_OPNOTSUPP_name = zend_string_init_interned("ER_OPNOTSUPP", sizeof("ER_OPNOTSUPP") - 1, 1);
1008 zend_declare_typed_class_constant(class_entry, const_ER_OPNOTSUPP_name, &const_ER_OPNOTSUPP_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1009 zend_string_release(const_ER_OPNOTSUPP_name);
1010#endif
1011#if defined(ZIP_ER_INUSE)
1012
1013 zval const_ER_INUSE_value;
1014 ZVAL_LONG(&const_ER_INUSE_value, ZIP_ER_INUSE);
1015 zend_string *const_ER_INUSE_name = zend_string_init_interned("ER_INUSE", sizeof("ER_INUSE") - 1, 1);
1016 zend_declare_typed_class_constant(class_entry, const_ER_INUSE_name, &const_ER_INUSE_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1017 zend_string_release(const_ER_INUSE_name);
1018#endif
1019#if defined(ZIP_ER_TELL)
1020
1021 zval const_ER_TELL_value;
1022 ZVAL_LONG(&const_ER_TELL_value, ZIP_ER_TELL);
1023 zend_string *const_ER_TELL_name = zend_string_init_interned("ER_TELL", sizeof("ER_TELL") - 1, 1);
1024 zend_declare_typed_class_constant(class_entry, const_ER_TELL_name, &const_ER_TELL_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1025 zend_string_release(const_ER_TELL_name);
1026#endif
1027#if defined(ZIP_ER_COMPRESSED_DATA)
1028
1029 zval const_ER_COMPRESSED_DATA_value;
1030 ZVAL_LONG(&const_ER_COMPRESSED_DATA_value, ZIP_ER_COMPRESSED_DATA);
1031 zend_string *const_ER_COMPRESSED_DATA_name = zend_string_init_interned("ER_COMPRESSED_DATA", sizeof("ER_COMPRESSED_DATA") - 1, 1);
1032 zend_declare_typed_class_constant(class_entry, const_ER_COMPRESSED_DATA_name, &const_ER_COMPRESSED_DATA_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1033 zend_string_release(const_ER_COMPRESSED_DATA_name);
1034#endif
1035#if defined(ZIP_ER_CANCELLED)
1036
1037 zval const_ER_CANCELLED_value;
1038 ZVAL_LONG(&const_ER_CANCELLED_value, ZIP_ER_CANCELLED);
1039 zend_string *const_ER_CANCELLED_name = zend_string_init_interned("ER_CANCELLED", sizeof("ER_CANCELLED") - 1, 1);
1040 zend_declare_typed_class_constant(class_entry, const_ER_CANCELLED_name, &const_ER_CANCELLED_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1041 zend_string_release(const_ER_CANCELLED_name);
1042#endif
1043#if defined(ZIP_ER_DATA_LENGTH)
1044
1045 zval const_ER_DATA_LENGTH_value;
1046 ZVAL_LONG(&const_ER_DATA_LENGTH_value, ZIP_ER_DATA_LENGTH);
1047 zend_string *const_ER_DATA_LENGTH_name = zend_string_init_interned("ER_DATA_LENGTH", sizeof("ER_DATA_LENGTH") - 1, 1);
1048 zend_declare_typed_class_constant(class_entry, const_ER_DATA_LENGTH_name, &const_ER_DATA_LENGTH_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1049 zend_string_release(const_ER_DATA_LENGTH_name);
1050#endif
1051#if defined(ZIP_ER_NOT_ALLOWED)
1052
1053 zval const_ER_NOT_ALLOWED_value;
1054 ZVAL_LONG(&const_ER_NOT_ALLOWED_value, ZIP_ER_NOT_ALLOWED);
1055 zend_string *const_ER_NOT_ALLOWED_name = zend_string_init_interned("ER_NOT_ALLOWED", sizeof("ER_NOT_ALLOWED") - 1, 1);
1056 zend_declare_typed_class_constant(class_entry, const_ER_NOT_ALLOWED_name, &const_ER_NOT_ALLOWED_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1057 zend_string_release(const_ER_NOT_ALLOWED_name);
1058#endif
1059#if defined(ZIP_ER_TRUNCATED_ZIP)
1060
1061 zval const_ER_TRUNCATED_ZIP_value;
1062 ZVAL_LONG(&const_ER_TRUNCATED_ZIP_value, ZIP_ER_TRUNCATED_ZIP);
1063 zend_string *const_ER_TRUNCATED_ZIP_name = zend_string_init_interned("ER_TRUNCATED_ZIP", sizeof("ER_TRUNCATED_ZIP") - 1, 1);
1064 zend_declare_typed_class_constant(class_entry, const_ER_TRUNCATED_ZIP_name, &const_ER_TRUNCATED_ZIP_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1065 zend_string_release(const_ER_TRUNCATED_ZIP_name);
1066#endif
1067#if defined(ZIP_AFL_RDONLY)
1068
1069 zval const_AFL_RDONLY_value;
1070 ZVAL_LONG(&const_AFL_RDONLY_value, ZIP_AFL_RDONLY);
1071 zend_string *const_AFL_RDONLY_name = zend_string_init_interned("AFL_RDONLY", sizeof("AFL_RDONLY") - 1, 1);
1072 zend_declare_typed_class_constant(class_entry, const_AFL_RDONLY_name, &const_AFL_RDONLY_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1073 zend_string_release(const_AFL_RDONLY_name);
1074#endif
1075#if defined(ZIP_AFL_IS_TORRENTZIP)
1076
1077 zval const_AFL_IS_TORRENTZIP_value;
1078 ZVAL_LONG(&const_AFL_IS_TORRENTZIP_value, ZIP_AFL_IS_TORRENTZIP);
1079 zend_string *const_AFL_IS_TORRENTZIP_name = zend_string_init_interned("AFL_IS_TORRENTZIP", sizeof("AFL_IS_TORRENTZIP") - 1, 1);
1080 zend_declare_typed_class_constant(class_entry, const_AFL_IS_TORRENTZIP_name, &const_AFL_IS_TORRENTZIP_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1081 zend_string_release(const_AFL_IS_TORRENTZIP_name);
1082#endif
1083#if defined(ZIP_AFL_WANT_TORRENTZIP)
1084
1085 zval const_AFL_WANT_TORRENTZIP_value;
1086 ZVAL_LONG(&const_AFL_WANT_TORRENTZIP_value, ZIP_AFL_WANT_TORRENTZIP);
1087 zend_string *const_AFL_WANT_TORRENTZIP_name = zend_string_init_interned("AFL_WANT_TORRENTZIP", sizeof("AFL_WANT_TORRENTZIP") - 1, 1);
1088 zend_declare_typed_class_constant(class_entry, const_AFL_WANT_TORRENTZIP_name, &const_AFL_WANT_TORRENTZIP_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1089 zend_string_release(const_AFL_WANT_TORRENTZIP_name);
1090#endif
1091#if defined(ZIP_AFL_CREATE_OR_KEEP_FILE_FOR_EMPTY_ARCHIVE)
1092
1093 zval const_AFL_CREATE_OR_KEEP_FILE_FOR_EMPTY_ARCHIVE_value;
1094 ZVAL_LONG(&const_AFL_CREATE_OR_KEEP_FILE_FOR_EMPTY_ARCHIVE_value, ZIP_AFL_CREATE_OR_KEEP_FILE_FOR_EMPTY_ARCHIVE);
1095 zend_string *const_AFL_CREATE_OR_KEEP_FILE_FOR_EMPTY_ARCHIVE_name = zend_string_init_interned("AFL_CREATE_OR_KEEP_FILE_FOR_EMPTY_ARCHIVE", sizeof("AFL_CREATE_OR_KEEP_FILE_FOR_EMPTY_ARCHIVE") - 1, 1);
1096 zend_declare_typed_class_constant(class_entry, const_AFL_CREATE_OR_KEEP_FILE_FOR_EMPTY_ARCHIVE_name, &const_AFL_CREATE_OR_KEEP_FILE_FOR_EMPTY_ARCHIVE_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1097 zend_string_release(const_AFL_CREATE_OR_KEEP_FILE_FOR_EMPTY_ARCHIVE_name);
1098#endif
1099#if defined(ZIP_OPSYS_DEFAULT)
1100
1101 zval const_OPSYS_DOS_value;
1102 ZVAL_LONG(&const_OPSYS_DOS_value, ZIP_OPSYS_DOS);
1103 zend_string *const_OPSYS_DOS_name = zend_string_init_interned("OPSYS_DOS", sizeof("OPSYS_DOS") - 1, 1);
1104 zend_declare_typed_class_constant(class_entry, const_OPSYS_DOS_name, &const_OPSYS_DOS_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1105 zend_string_release(const_OPSYS_DOS_name);
1106#endif
1107#if defined(ZIP_OPSYS_DEFAULT)
1108
1109 zval const_OPSYS_AMIGA_value;
1110 ZVAL_LONG(&const_OPSYS_AMIGA_value, ZIP_OPSYS_AMIGA);
1111 zend_string *const_OPSYS_AMIGA_name = zend_string_init_interned("OPSYS_AMIGA", sizeof("OPSYS_AMIGA") - 1, 1);
1112 zend_declare_typed_class_constant(class_entry, const_OPSYS_AMIGA_name, &const_OPSYS_AMIGA_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1113 zend_string_release(const_OPSYS_AMIGA_name);
1114#endif
1115#if defined(ZIP_OPSYS_DEFAULT)
1116
1117 zval const_OPSYS_OPENVMS_value;
1118 ZVAL_LONG(&const_OPSYS_OPENVMS_value, ZIP_OPSYS_OPENVMS);
1119 zend_string *const_OPSYS_OPENVMS_name = zend_string_init_interned("OPSYS_OPENVMS", sizeof("OPSYS_OPENVMS") - 1, 1);
1120 zend_declare_typed_class_constant(class_entry, const_OPSYS_OPENVMS_name, &const_OPSYS_OPENVMS_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1121 zend_string_release(const_OPSYS_OPENVMS_name);
1122#endif
1123#if defined(ZIP_OPSYS_DEFAULT)
1124
1125 zval const_OPSYS_UNIX_value;
1126 ZVAL_LONG(&const_OPSYS_UNIX_value, ZIP_OPSYS_UNIX);
1127 zend_string *const_OPSYS_UNIX_name = zend_string_init_interned("OPSYS_UNIX", sizeof("OPSYS_UNIX") - 1, 1);
1128 zend_declare_typed_class_constant(class_entry, const_OPSYS_UNIX_name, &const_OPSYS_UNIX_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1129 zend_string_release(const_OPSYS_UNIX_name);
1130#endif
1131#if defined(ZIP_OPSYS_DEFAULT)
1132
1133 zval const_OPSYS_VM_CMS_value;
1134 ZVAL_LONG(&const_OPSYS_VM_CMS_value, ZIP_OPSYS_VM_CMS);
1135 zend_string *const_OPSYS_VM_CMS_name = zend_string_init_interned("OPSYS_VM_CMS", sizeof("OPSYS_VM_CMS") - 1, 1);
1136 zend_declare_typed_class_constant(class_entry, const_OPSYS_VM_CMS_name, &const_OPSYS_VM_CMS_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1137 zend_string_release(const_OPSYS_VM_CMS_name);
1138#endif
1139#if defined(ZIP_OPSYS_DEFAULT)
1140
1141 zval const_OPSYS_ATARI_ST_value;
1142 ZVAL_LONG(&const_OPSYS_ATARI_ST_value, ZIP_OPSYS_ATARI_ST);
1143 zend_string *const_OPSYS_ATARI_ST_name = zend_string_init_interned("OPSYS_ATARI_ST", sizeof("OPSYS_ATARI_ST") - 1, 1);
1144 zend_declare_typed_class_constant(class_entry, const_OPSYS_ATARI_ST_name, &const_OPSYS_ATARI_ST_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1145 zend_string_release(const_OPSYS_ATARI_ST_name);
1146#endif
1147#if defined(ZIP_OPSYS_DEFAULT)
1148
1149 zval const_OPSYS_OS_2_value;
1150 ZVAL_LONG(&const_OPSYS_OS_2_value, ZIP_OPSYS_OS_2);
1151 zend_string *const_OPSYS_OS_2_name = zend_string_init_interned("OPSYS_OS_2", sizeof("OPSYS_OS_2") - 1, 1);
1152 zend_declare_typed_class_constant(class_entry, const_OPSYS_OS_2_name, &const_OPSYS_OS_2_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1153 zend_string_release(const_OPSYS_OS_2_name);
1154#endif
1155#if defined(ZIP_OPSYS_DEFAULT)
1156
1157 zval const_OPSYS_MACINTOSH_value;
1158 ZVAL_LONG(&const_OPSYS_MACINTOSH_value, ZIP_OPSYS_MACINTOSH);
1159 zend_string *const_OPSYS_MACINTOSH_name = zend_string_init_interned("OPSYS_MACINTOSH", sizeof("OPSYS_MACINTOSH") - 1, 1);
1160 zend_declare_typed_class_constant(class_entry, const_OPSYS_MACINTOSH_name, &const_OPSYS_MACINTOSH_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1161 zend_string_release(const_OPSYS_MACINTOSH_name);
1162#endif
1163#if defined(ZIP_OPSYS_DEFAULT)
1164
1165 zval const_OPSYS_Z_SYSTEM_value;
1166 ZVAL_LONG(&const_OPSYS_Z_SYSTEM_value, ZIP_OPSYS_Z_SYSTEM);
1167 zend_string *const_OPSYS_Z_SYSTEM_name = zend_string_init_interned("OPSYS_Z_SYSTEM", sizeof("OPSYS_Z_SYSTEM") - 1, 1);
1168 zend_declare_typed_class_constant(class_entry, const_OPSYS_Z_SYSTEM_name, &const_OPSYS_Z_SYSTEM_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1169 zend_string_release(const_OPSYS_Z_SYSTEM_name);
1170#endif
1171#if defined(ZIP_OPSYS_DEFAULT)
1172
1173 zval const_OPSYS_CPM_value;
1174 ZVAL_LONG(&const_OPSYS_CPM_value, ZIP_OPSYS_CPM);
1175 zend_string *const_OPSYS_CPM_name = zend_string_init_interned("OPSYS_CPM", sizeof("OPSYS_CPM") - 1, 1);
1176 zend_declare_typed_class_constant(class_entry, const_OPSYS_CPM_name, &const_OPSYS_CPM_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1177 zend_string_release(const_OPSYS_CPM_name);
1178#endif
1179#if defined(ZIP_OPSYS_DEFAULT)
1180
1181 zval const_OPSYS_WINDOWS_NTFS_value;
1182 ZVAL_LONG(&const_OPSYS_WINDOWS_NTFS_value, ZIP_OPSYS_WINDOWS_NTFS);
1183 zend_string *const_OPSYS_WINDOWS_NTFS_name = zend_string_init_interned("OPSYS_WINDOWS_NTFS", sizeof("OPSYS_WINDOWS_NTFS") - 1, 1);
1184 zend_declare_typed_class_constant(class_entry, const_OPSYS_WINDOWS_NTFS_name, &const_OPSYS_WINDOWS_NTFS_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1185 zend_string_release(const_OPSYS_WINDOWS_NTFS_name);
1186#endif
1187#if defined(ZIP_OPSYS_DEFAULT)
1188
1189 zval const_OPSYS_MVS_value;
1190 ZVAL_LONG(&const_OPSYS_MVS_value, ZIP_OPSYS_MVS);
1191 zend_string *const_OPSYS_MVS_name = zend_string_init_interned("OPSYS_MVS", sizeof("OPSYS_MVS") - 1, 1);
1192 zend_declare_typed_class_constant(class_entry, const_OPSYS_MVS_name, &const_OPSYS_MVS_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1193 zend_string_release(const_OPSYS_MVS_name);
1194#endif
1195#if defined(ZIP_OPSYS_DEFAULT)
1196
1197 zval const_OPSYS_VSE_value;
1198 ZVAL_LONG(&const_OPSYS_VSE_value, ZIP_OPSYS_VSE);
1199 zend_string *const_OPSYS_VSE_name = zend_string_init_interned("OPSYS_VSE", sizeof("OPSYS_VSE") - 1, 1);
1200 zend_declare_typed_class_constant(class_entry, const_OPSYS_VSE_name, &const_OPSYS_VSE_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1201 zend_string_release(const_OPSYS_VSE_name);
1202#endif
1203#if defined(ZIP_OPSYS_DEFAULT)
1204
1205 zval const_OPSYS_ACORN_RISC_value;
1206 ZVAL_LONG(&const_OPSYS_ACORN_RISC_value, ZIP_OPSYS_ACORN_RISC);
1207 zend_string *const_OPSYS_ACORN_RISC_name = zend_string_init_interned("OPSYS_ACORN_RISC", sizeof("OPSYS_ACORN_RISC") - 1, 1);
1208 zend_declare_typed_class_constant(class_entry, const_OPSYS_ACORN_RISC_name, &const_OPSYS_ACORN_RISC_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1209 zend_string_release(const_OPSYS_ACORN_RISC_name);
1210#endif
1211#if defined(ZIP_OPSYS_DEFAULT)
1212
1213 zval const_OPSYS_VFAT_value;
1214 ZVAL_LONG(&const_OPSYS_VFAT_value, ZIP_OPSYS_VFAT);
1215 zend_string *const_OPSYS_VFAT_name = zend_string_init_interned("OPSYS_VFAT", sizeof("OPSYS_VFAT") - 1, 1);
1216 zend_declare_typed_class_constant(class_entry, const_OPSYS_VFAT_name, &const_OPSYS_VFAT_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1217 zend_string_release(const_OPSYS_VFAT_name);
1218#endif
1219#if defined(ZIP_OPSYS_DEFAULT)
1220
1221 zval const_OPSYS_ALTERNATE_MVS_value;
1222 ZVAL_LONG(&const_OPSYS_ALTERNATE_MVS_value, ZIP_OPSYS_ALTERNATE_MVS);
1223 zend_string *const_OPSYS_ALTERNATE_MVS_name = zend_string_init_interned("OPSYS_ALTERNATE_MVS", sizeof("OPSYS_ALTERNATE_MVS") - 1, 1);
1224 zend_declare_typed_class_constant(class_entry, const_OPSYS_ALTERNATE_MVS_name, &const_OPSYS_ALTERNATE_MVS_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1225 zend_string_release(const_OPSYS_ALTERNATE_MVS_name);
1226#endif
1227#if defined(ZIP_OPSYS_DEFAULT)
1228
1229 zval const_OPSYS_BEOS_value;
1230 ZVAL_LONG(&const_OPSYS_BEOS_value, ZIP_OPSYS_BEOS);
1231 zend_string *const_OPSYS_BEOS_name = zend_string_init_interned("OPSYS_BEOS", sizeof("OPSYS_BEOS") - 1, 1);
1232 zend_declare_typed_class_constant(class_entry, const_OPSYS_BEOS_name, &const_OPSYS_BEOS_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1233 zend_string_release(const_OPSYS_BEOS_name);
1234#endif
1235#if defined(ZIP_OPSYS_DEFAULT)
1236
1237 zval const_OPSYS_TANDEM_value;
1238 ZVAL_LONG(&const_OPSYS_TANDEM_value, ZIP_OPSYS_TANDEM);
1239 zend_string *const_OPSYS_TANDEM_name = zend_string_init_interned("OPSYS_TANDEM", sizeof("OPSYS_TANDEM") - 1, 1);
1240 zend_declare_typed_class_constant(class_entry, const_OPSYS_TANDEM_name, &const_OPSYS_TANDEM_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1241 zend_string_release(const_OPSYS_TANDEM_name);
1242#endif
1243#if defined(ZIP_OPSYS_DEFAULT)
1244
1245 zval const_OPSYS_OS_400_value;
1246 ZVAL_LONG(&const_OPSYS_OS_400_value, ZIP_OPSYS_OS_400);
1247 zend_string *const_OPSYS_OS_400_name = zend_string_init_interned("OPSYS_OS_400", sizeof("OPSYS_OS_400") - 1, 1);
1248 zend_declare_typed_class_constant(class_entry, const_OPSYS_OS_400_name, &const_OPSYS_OS_400_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1249 zend_string_release(const_OPSYS_OS_400_name);
1250#endif
1251#if defined(ZIP_OPSYS_DEFAULT)
1252
1253 zval const_OPSYS_OS_X_value;
1254 ZVAL_LONG(&const_OPSYS_OS_X_value, ZIP_OPSYS_OS_X);
1255 zend_string *const_OPSYS_OS_X_name = zend_string_init_interned("OPSYS_OS_X", sizeof("OPSYS_OS_X") - 1, 1);
1256 zend_declare_typed_class_constant(class_entry, const_OPSYS_OS_X_name, &const_OPSYS_OS_X_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1257 zend_string_release(const_OPSYS_OS_X_name);
1258#endif
1259#if defined(ZIP_OPSYS_DEFAULT)
1260
1261 zval const_OPSYS_DEFAULT_value;
1262 ZVAL_LONG(&const_OPSYS_DEFAULT_value, ZIP_OPSYS_DEFAULT);
1263 zend_string *const_OPSYS_DEFAULT_name = zend_string_init_interned("OPSYS_DEFAULT", sizeof("OPSYS_DEFAULT") - 1, 1);
1264 zend_declare_typed_class_constant(class_entry, const_OPSYS_DEFAULT_name, &const_OPSYS_DEFAULT_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1265 zend_string_release(const_OPSYS_DEFAULT_name);
1266#endif
1267
1268 zval const_EM_NONE_value;
1269 ZVAL_LONG(&const_EM_NONE_value, ZIP_EM_NONE);
1270 zend_string *const_EM_NONE_name = zend_string_init_interned("EM_NONE", sizeof("EM_NONE") - 1, 1);
1271 zend_declare_typed_class_constant(class_entry, const_EM_NONE_name, &const_EM_NONE_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1272 zend_string_release(const_EM_NONE_name);
1273
1274 zval const_EM_TRAD_PKWARE_value;
1275 ZVAL_LONG(&const_EM_TRAD_PKWARE_value, ZIP_EM_TRAD_PKWARE);
1276 zend_string *const_EM_TRAD_PKWARE_name = zend_string_init_interned("EM_TRAD_PKWARE", sizeof("EM_TRAD_PKWARE") - 1, 1);
1277 zend_declare_typed_class_constant(class_entry, const_EM_TRAD_PKWARE_name, &const_EM_TRAD_PKWARE_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1278 zend_string_release(const_EM_TRAD_PKWARE_name);
1279#if defined(HAVE_ENCRYPTION)
1280
1281 zval const_EM_AES_128_value;
1282 ZVAL_LONG(&const_EM_AES_128_value, ZIP_EM_AES_128);
1283 zend_string *const_EM_AES_128_name = zend_string_init_interned("EM_AES_128", sizeof("EM_AES_128") - 1, 1);
1284 zend_declare_typed_class_constant(class_entry, const_EM_AES_128_name, &const_EM_AES_128_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1285 zend_string_release(const_EM_AES_128_name);
1286#endif
1287#if defined(HAVE_ENCRYPTION)
1288
1289 zval const_EM_AES_192_value;
1290 ZVAL_LONG(&const_EM_AES_192_value, ZIP_EM_AES_192);
1291 zend_string *const_EM_AES_192_name = zend_string_init_interned("EM_AES_192", sizeof("EM_AES_192") - 1, 1);
1292 zend_declare_typed_class_constant(class_entry, const_EM_AES_192_name, &const_EM_AES_192_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1293 zend_string_release(const_EM_AES_192_name);
1294#endif
1295#if defined(HAVE_ENCRYPTION)
1296
1297 zval const_EM_AES_256_value;
1298 ZVAL_LONG(&const_EM_AES_256_value, ZIP_EM_AES_256);
1299 zend_string *const_EM_AES_256_name = zend_string_init_interned("EM_AES_256", sizeof("EM_AES_256") - 1, 1);
1300 zend_declare_typed_class_constant(class_entry, const_EM_AES_256_name, &const_EM_AES_256_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1301 zend_string_release(const_EM_AES_256_name);
1302#endif
1303
1304 zval const_EM_UNKNOWN_value;
1305 ZVAL_LONG(&const_EM_UNKNOWN_value, ZIP_EM_UNKNOWN);
1306 zend_string *const_EM_UNKNOWN_name = zend_string_init_interned("EM_UNKNOWN", sizeof("EM_UNKNOWN") - 1, 1);
1307 zend_declare_typed_class_constant(class_entry, const_EM_UNKNOWN_name, &const_EM_UNKNOWN_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1308 zend_string_release(const_EM_UNKNOWN_name);
1309
1310 zval const_LIBZIP_VERSION_value;
1311 zend_string *const_LIBZIP_VERSION_value_str = zend_string_init(LIBZIP_VERSION_STR, strlen(LIBZIP_VERSION_STR), 1);
1312 ZVAL_STR(&const_LIBZIP_VERSION_value, const_LIBZIP_VERSION_value_str);
1313 zend_string *const_LIBZIP_VERSION_name = zend_string_init_interned("LIBZIP_VERSION", sizeof("LIBZIP_VERSION") - 1, 1);
1314 zend_declare_typed_class_constant(class_entry, const_LIBZIP_VERSION_name, &const_LIBZIP_VERSION_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
1315 zend_string_release(const_LIBZIP_VERSION_name);
1316
1317 zval const_LENGTH_TO_END_value;
1318 ZVAL_LONG(&const_LENGTH_TO_END_value, ZIP_LENGTH_TO_END);
1319 zend_string *const_LENGTH_TO_END_name = zend_string_init_interned("LENGTH_TO_END", sizeof("LENGTH_TO_END") - 1, 1);
1320 zend_declare_typed_class_constant(class_entry, const_LENGTH_TO_END_name, &const_LENGTH_TO_END_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1321 zend_string_release(const_LENGTH_TO_END_name);
1322#if defined(ZIP_LENGTH_UNCHECKED)
1323
1324 zval const_LENGTH_UNCHECKED_value;
1325 ZVAL_LONG(&const_LENGTH_UNCHECKED_value, ZIP_LENGTH_UNCHECKED);
1326 zend_string *const_LENGTH_UNCHECKED_name = zend_string_init_interned("LENGTH_UNCHECKED", sizeof("LENGTH_UNCHECKED") - 1, 1);
1327 zend_declare_typed_class_constant(class_entry, const_LENGTH_UNCHECKED_name, &const_LENGTH_UNCHECKED_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1328 zend_string_release(const_LENGTH_UNCHECKED_name);
1329#endif
1330
1331 zval property_lastId_default_value;
1332 ZVAL_UNDEF(&property_lastId_default_value);
1333 zend_string *property_lastId_name = zend_string_init("lastId", sizeof("lastId") - 1, 1);
1334 zend_declare_typed_property(class_entry, property_lastId_name, &property_lastId_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1335 zend_string_release(property_lastId_name);
1336
1337 zval property_status_default_value;
1338 ZVAL_UNDEF(&property_status_default_value);
1339 zend_string *property_status_name = zend_string_init("status", sizeof("status") - 1, 1);
1340 zend_declare_typed_property(class_entry, property_status_name, &property_status_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1341 zend_string_release(property_status_name);
1342
1343 zval property_statusSys_default_value;
1344 ZVAL_UNDEF(&property_statusSys_default_value);
1345 zend_string *property_statusSys_name = zend_string_init("statusSys", sizeof("statusSys") - 1, 1);
1346 zend_declare_typed_property(class_entry, property_statusSys_name, &property_statusSys_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1347 zend_string_release(property_statusSys_name);
1348
1349 zval property_numFiles_default_value;
1350 ZVAL_UNDEF(&property_numFiles_default_value);
1351 zend_string *property_numFiles_name = zend_string_init("numFiles", sizeof("numFiles") - 1, 1);
1352 zend_declare_typed_property(class_entry, property_numFiles_name, &property_numFiles_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1353 zend_string_release(property_numFiles_name);
1354
1355 zval property_filename_default_value;
1356 ZVAL_UNDEF(&property_filename_default_value);
1357 zend_string *property_filename_name = zend_string_init("filename", sizeof("filename") - 1, 1);
1358 zend_declare_typed_property(class_entry, property_filename_name, &property_filename_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
1359 zend_string_release(property_filename_name);
1360
1361 zval property_comment_default_value;
1362 ZVAL_UNDEF(&property_comment_default_value);
1363 zend_string *property_comment_name = zend_string_init("comment", sizeof("comment") - 1, 1);
1364 zend_declare_typed_property(class_entry, property_comment_name, &property_comment_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
1365 zend_string_release(property_comment_name);
1366
1367#if defined(ZIP_FL_RECOMPRESS)
1368
1369 zend_attribute *attribute_Deprecated_const_FL_RECOMPRESS_0 = zend_add_class_constant_attribute(class_entry, const_FL_RECOMPRESS, ZSTR_KNOWN(ZEND_STR_DEPRECATED_CAPITALIZED), 1);
1370 zval attribute_Deprecated_const_FL_RECOMPRESS_0_arg0;
1371 zend_string *attribute_Deprecated_const_FL_RECOMPRESS_0_arg0_str = zend_string_init("8.3", strlen("8.3"), 1);
1372 ZVAL_STR(&attribute_Deprecated_const_FL_RECOMPRESS_0_arg0, attribute_Deprecated_const_FL_RECOMPRESS_0_arg0_str);
1373 ZVAL_COPY_VALUE(&attribute_Deprecated_const_FL_RECOMPRESS_0->args[0].value, &attribute_Deprecated_const_FL_RECOMPRESS_0_arg0);
1374 attribute_Deprecated_const_FL_RECOMPRESS_0->args[0].name = ZSTR_KNOWN(ZEND_STR_SINCE);
1375#endif
1376
1377
1378 zend_add_parameter_attribute(zend_hash_str_find_ptr(&class_entry->function_table, "setpassword", sizeof("setpassword") - 1), 0, ZSTR_KNOWN(ZEND_STR_SENSITIVEPARAMETER), 0);
1379#if defined(HAVE_ENCRYPTION)
1380
1381 zend_add_parameter_attribute(zend_hash_str_find_ptr(&class_entry->function_table, "setencryptionname", sizeof("setencryptionname") - 1), 2, ZSTR_KNOWN(ZEND_STR_SENSITIVEPARAMETER), 0);
1382
1383 zend_add_parameter_attribute(zend_hash_str_find_ptr(&class_entry->function_table, "setencryptionindex", sizeof("setencryptionindex") - 1), 2, ZSTR_KNOWN(ZEND_STR_SENSITIVEPARAMETER), 0);
1384#endif
1385
1386 return class_entry;
1387}
size_t len
Definition apprentice.c:174
zval callback
Definition assert.c:25
dirname(string $path, int $levels=1)
count(Countable|array $value, int $mode=COUNT_NORMAL)
new_type attr
Definition ffi.c:4364
buf start
Definition ffi.c:4687
char * mode
#define NULL
Definition gdcache.h:45
PHP_JSON_API size_t int options
Definition php_json.h:102
#define ZIP_FL_OPEN_FILE_NOW
Definition php_zip.h:40
#define LIBZIP_VERSION_STR
Definition php_zip.h:47
#define ZIP_LENGTH_TO_END
Definition php_zip.h:36
#define ZIP_OVERWRITE
Definition php_zip.h:31
zip_read($zip)
zip_open(string $filename)
zip_close($zip)
zip_entry_filesize($zip_entry)
zip_entry_compressedsize($zip_entry)
zip_entry_compressionmethod($zip_entry)
zip_entry_open($zip_dp, $zip_entry, string $mode="rb")
zip_entry_name($zip_entry)
zip_entry_close($zip_entry)
zip_entry_read($zip_entry, int $len=1024)
#define arginfo_class_ZipArchive_getNameIndex
#define arginfo_class_ZipArchive_unchangeArchive
#define arginfo_class_ZipArchive_unchangeIndex
#define arginfo_class_ZipArchive_unchangeName
#define arginfo_zip_entry_compressionmethod
#define arginfo_zip_entry_filesize
#define arginfo_class_ZipArchive_unchangeAll
zend_attribute_arg args[1]
HashTable function_table
Definition zend.h:163
#define close(a)
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_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_TYPE_MASK_EX(name, return_reference, required_num_args, type)
Definition zend_API.h:185
#define ZEND_FE_END
Definition zend_API.h:124
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_ARG_TYPE_MASK(pass_by_ref, name, type_mask, default_value)
Definition zend_API.h:146
#define ZEND_METHOD(classname, name)
Definition zend_API.h:76
#define ZEND_END_ARG_INFO()
Definition zend_API.h:219
#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_ME(classname, name, arg_info, flags)
Definition zend_API.h:91
#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)
struct _zend_class_constant zend_class_constant
#define ZEND_ACC_STATIC
#define ZEND_ACC_PUBLIC
#define ZEND_ACC_DEPRECATED
#define CG(v)
struct _zend_string zend_string
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_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 IS_CALLABLE
Definition zend_types.h:615
#define ZVAL_COPY_VALUE(z, v)
zend_string * name
value