8#[\Deprecated(since: '8.0', message: 'use ZipArchive::open() instead')]
14#[\Deprecated(since: '8.0', message: 'use ZipArchive::close() instead')]
21#[\
Deprecated(since:
'8.0', message:
'use ZipArchive::statIndex() instead')]
28#[\Deprecated(since: '8.0')]
40#[\
Deprecated(since:
'8.0', message:
'use ZipArchive::getFromIndex() instead')]
46#[\
Deprecated(since:
'8.0', message:
'use ZipArchive::statIndex() instead')]
52#[\
Deprecated(since:
'8.0', message:
'use ZipArchive::statIndex() instead')]
58#[\
Deprecated(since:
'8.0', message:
'use ZipArchive::statIndex() instead')]
64#[\
Deprecated(since:
'8.0', message:
'use ZipArchive::statIndex() instead')]
76 public const int EXCL = UNKNOWN;
109#ifdef ZIP_FL_RECOMPRESS
113 #[\Deprecated(since: '8.3')]
394#ifdef ZIP_ER_OPNOTSUPP
417#ifdef ZIP_ER_COMPRESSED_DATA
424#ifdef ZIP_ER_CANCELLED
433#ifdef ZIP_ER_DATA_LENGTH
440#ifdef ZIP_ER_NOT_ALLOWED
447#ifdef ZIP_ER_TRUNCATED_ZIP
461#ifdef ZIP_AFL_IS_TORRENTZIP
468#ifdef ZIP_AFL_WANT_TORRENTZIP
475#ifdef ZIP_AFL_CREATE_OR_KEEP_FILE_FOR_EMPTY_ARCHIVE
483#ifdef ZIP_OPSYS_DEFAULT
599#ifdef HAVE_ENCRYPTION
628#ifdef ZIP_LENGTH_UNCHECKED
769#ifdef ZIP_OPSYS_DEFAULT
797#ifdef HAVE_ENCRYPTION
809#ifdef HAVE_PROGRESS_CALLBACK
814#ifdef HAVE_CANCEL_CALLBACK
819#ifdef HAVE_METHOD_SUPPORTED
const int OPSYS_MACINTOSH
addPattern(string $pattern, string $path=".", array $options=[])
const int OPSYS_WINDOWS_NTFS
setExternalAttributesName(string $name, int $opsys, int $attr, int $flags=0)
const int AFL_WANT_TORRENTZIP
setEncryptionIndex(int $index, int $method, #[\SensitiveParameter] ?string $password=null)
renameName(string $name, string $new_name)
setCommentName(string $name, string $comment)
registerCancelCallback(callable $callback)
getExternalAttributesName(string $name, &$opsys, &$attr, int $flags=0)
const int LENGTH_UNCHECKED
getNameIndex(int $index, int $flags=0)
statName(string $name, int $flags=0)
setCompressionIndex(int $index, int $method, int $compflags=0)
const int CM_PKWARE_IMPLODE
getFromIndex(int $index, int $len=0, int $flags=0)
setPassword(#[\SensitiveParameter] string $password)
const int ER_TRUNCATED_ZIP
getStreamName(string $name, int $flags=0)
locateName(string $name, int $flags=0)
unchangeName(string $name)
setCommentIndex(int $index, string $comment)
setExternalAttributesIndex(int $index, int $opsys, int $attr, int $flags=0)
renameIndex(int $index, string $new_name)
setMtimeIndex(int $index, int $timestamp, int $flags=0)
extractTo(string $pathto, array|string|null $files=null)
const int OPSYS_ACORN_RISC
const int ER_COMPRESSED_DATA
getStreamIndex(int $index, int $flags=0)
const int FL_OPEN_FILE_NOW
replaceFile(string $filepath, int $index, int $start=0, int $length=ZipArchive::LENGTH_TO_END, int $flags=0)
unchangeIndex(int $index)
const int OPSYS_ALTERNATE_MVS
static isCompressionMethodSupported(int $method, bool $enc=true)
setArchiveFlag(int $flag, int $value)
setArchiveComment(string $comment)
getArchiveFlag(int $flag, int $flags=0)
registerProgressCallback(float $rate, callable $callback)
const int AFL_IS_TORRENTZIP
static isEncryptionMethodSupported(int $method, bool $enc=true)
open(string $filename, int $flags=0)
getCommentIndex(int $index, int $flags=0)
const string LIBZIP_VERSION
addGlob(string $pattern, int $flags=0, array $options=[])
setMtimeName(string $name, int $timestamp, int $flags=0)
getExternalAttributesIndex(int $index, &$opsys, &$attr, int $flags=0)
getCommentName(string $name, int $flags=0)
addFromString(string $name, string $content, int $flags=ZipArchive::FL_OVERWRITE)
addEmptyDir(string $dirname, int $flags=0)
getFromName(string $name, int $len=0, int $flags=0)
getArchiveComment(int $flags=0)
addFile(string $filepath, string $entryname="", int $start=0, int $length=ZipArchive::LENGTH_TO_END, int $flags=ZipArchive::FL_OVERWRITE)
const int AFL_CREATE_OR_KEEP_FILE_FOR_EMPTY_ARCHIVE
setCompressionName(string $name, int $method, int $compflags=0)
setEncryptionName(string $name, int $method, #[\SensitiveParameter] ?string $password=null)
statIndex(int $index, int $flags=0)
if(PHP_SAPI !='cli') if($argc< 1) $options
zip_open(string $filename)
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)
ZEND_API void(ZEND_FASTCALL *zend_touch_vm_stack_data)(void *vm_stack_data)
function(EX_VAR(opline->result.var))