Extension [ extension #64 zip version 1.22.4 ] { - Dependencies { Dependency [ pcre (Required) ] } - Functions { Function [ function zip_open ] { - Parameters [1] { Parameter #0 [ string $filename ] } } Function [ function zip_close ] { - Parameters [1] { Parameter #0 [ $zip ] } - Return [ void ] } Function [ function zip_read ] { - Parameters [1] { Parameter #0 [ $zip ] } } Function [ function zip_entry_open ] { - Parameters [3] { Parameter #0 [ $zip_dp ] Parameter #1 [ $zip_entry ] Parameter #2 [ string $mode = "rb" ] } - Return [ bool ] } Function [ function zip_entry_close ] { - Parameters [1] { Parameter #0 [ $zip_entry ] } - Return [ bool ] } Function [ function zip_entry_read ] { - Parameters [2] { Parameter #0 [ $zip_entry ] Parameter #1 [ int $len = 1024 ] } - Return [ string|false ] } Function [ function zip_entry_name ] { - Parameters [1] { Parameter #0 [ $zip_entry ] } - Return [ string|false ] } Function [ function zip_entry_compressedsize ] { - Parameters [1] { Parameter #0 [ $zip_entry ] } - Return [ int|false ] } Function [ function zip_entry_filesize ] { - Parameters [1] { Parameter #0 [ $zip_entry ] } - Return [ int|false ] } Function [ function zip_entry_compressionmethod ] { - Parameters [1] { Parameter #0 [ $zip_entry ] } - Return [ string|false ] } } - Classes [1] { Class [ class ZipArchive implements Countable ] { - Constants [110] { Constant [ public int CREATE ] { 1 } Constant [ public int EXCL ] { 2 } Constant [ public int CHECKCONS ] { 4 } Constant [ public int OVERWRITE ] { 8 } Constant [ public int RDONLY ] { 16 } Constant [ public int FL_NOCASE ] { 1 } Constant [ public int FL_NODIR ] { 2 } Constant [ public int FL_COMPRESSED ] { 4 } Constant [ public int FL_UNCHANGED ] { 8 } Constant [ public int FL_RECOMPRESS ] { 16 } Constant [ public int FL_ENCRYPTED ] { 32 } Constant [ public int FL_OVERWRITE ] { 8192 } Constant [ public int FL_LOCAL ] { 256 } Constant [ public int FL_CENTRAL ] { 512 } Constant [ public int FL_ENC_GUESS ] { 0 } Constant [ public int FL_ENC_RAW ] { 64 } Constant [ public int FL_ENC_STRICT ] { 128 } Constant [ public int FL_ENC_UTF_8 ] { 2048 } Constant [ public int FL_ENC_CP437 ] { 4096 } Constant [ public int FL_OPEN_FILE_NOW ] { 1073741824 } Constant [ public int CM_DEFAULT ] { -1 } Constant [ public int CM_STORE ] { 0 } Constant [ public int CM_SHRINK ] { 1 } Constant [ public int CM_REDUCE_1 ] { 2 } Constant [ public int CM_REDUCE_2 ] { 3 } Constant [ public int CM_REDUCE_3 ] { 4 } Constant [ public int CM_REDUCE_4 ] { 5 } Constant [ public int CM_IMPLODE ] { 6 } Constant [ public int CM_DEFLATE ] { 8 } Constant [ public int CM_DEFLATE64 ] { 9 } Constant [ public int CM_PKWARE_IMPLODE ] { 10 } Constant [ public int CM_BZIP2 ] { 12 } Constant [ public int CM_LZMA ] { 14 } Constant [ public int CM_LZMA2 ] { 33 } Constant [ public int CM_ZSTD ] { 93 } Constant [ public int CM_XZ ] { 95 } Constant [ public int CM_TERSE ] { 18 } Constant [ public int CM_LZ77 ] { 19 } Constant [ public int CM_WAVPACK ] { 97 } Constant [ public int CM_PPMD ] { 98 } Constant [ public int ER_OK ] { 0 } Constant [ public int ER_MULTIDISK ] { 1 } Constant [ public int ER_RENAME ] { 2 } Constant [ public int ER_CLOSE ] { 3 } Constant [ public int ER_SEEK ] { 4 } Constant [ public int ER_READ ] { 5 } Constant [ public int ER_WRITE ] { 6 } Constant [ public int ER_CRC ] { 7 } Constant [ public int ER_ZIPCLOSED ] { 8 } Constant [ public int ER_NOENT ] { 9 } Constant [ public int ER_EXISTS ] { 10 } Constant [ public int ER_OPEN ] { 11 } Constant [ public int ER_TMPOPEN ] { 12 } Constant [ public int ER_ZLIB ] { 13 } Constant [ public int ER_MEMORY ] { 14 } Constant [ public int ER_CHANGED ] { 15 } Constant [ public int ER_COMPNOTSUPP ] { 16 } Constant [ public int ER_EOF ] { 17 } Constant [ public int ER_INVAL ] { 18 } Constant [ public int ER_NOZIP ] { 19 } Constant [ public int ER_INTERNAL ] { 20 } Constant [ public int ER_INCONS ] { 21 } Constant [ public int ER_REMOVE ] { 22 } Constant [ public int ER_DELETED ] { 23 } Constant [ public int ER_ENCRNOTSUPP ] { 24 } Constant [ public int ER_RDONLY ] { 25 } Constant [ public int ER_NOPASSWD ] { 26 } Constant [ public int ER_WRONGPASSWD ] { 27 } Constant [ public int ER_OPNOTSUPP ] { 28 } Constant [ public int ER_INUSE ] { 29 } Constant [ public int ER_TELL ] { 30 } Constant [ public int ER_COMPRESSED_DATA ] { 31 } Constant [ public int ER_CANCELLED ] { 32 } Constant [ public int ER_DATA_LENGTH ] { 33 } Constant [ public int ER_NOT_ALLOWED ] { 34 } Constant [ public int ER_TRUNCATED_ZIP ] { 35 } Constant [ public int AFL_RDONLY ] { 2 } Constant [ public int AFL_IS_TORRENTZIP ] { 4 } Constant [ public int AFL_WANT_TORRENTZIP ] { 8 } Constant [ public int AFL_CREATE_OR_KEEP_FILE_FOR_EMPTY_ARCHIVE ] { 16 } Constant [ public int OPSYS_DOS ] { 0 } Constant [ public int OPSYS_AMIGA ] { 1 } Constant [ public int OPSYS_OPENVMS ] { 2 } Constant [ public int OPSYS_UNIX ] { 3 } Constant [ public int OPSYS_VM_CMS ] { 4 } Constant [ public int OPSYS_ATARI_ST ] { 5 } Constant [ public int OPSYS_OS_2 ] { 6 } Constant [ public int OPSYS_MACINTOSH ] { 7 } Constant [ public int OPSYS_Z_SYSTEM ] { 8 } Constant [ public int OPSYS_CPM ] { 9 } Constant [ public int OPSYS_WINDOWS_NTFS ] { 10 } Constant [ public int OPSYS_MVS ] { 11 } Constant [ public int OPSYS_VSE ] { 12 } Constant [ public int OPSYS_ACORN_RISC ] { 13 } Constant [ public int OPSYS_VFAT ] { 14 } Constant [ public int OPSYS_ALTERNATE_MVS ] { 15 } Constant [ public int OPSYS_BEOS ] { 16 } Constant [ public int OPSYS_TANDEM ] { 17 } Constant [ public int OPSYS_OS_400 ] { 18 } Constant [ public int OPSYS_OS_X ] { 19 } Constant [ public int OPSYS_DEFAULT ] { 3 } Constant [ public int EM_NONE ] { 0 } Constant [ public int EM_TRAD_PKWARE ] { 1 } Constant [ public int EM_AES_128 ] { 257 } Constant [ public int EM_AES_192 ] { 258 } Constant [ public int EM_AES_256 ] { 259 } Constant [ public int EM_UNKNOWN ] { 65535 } Constant [ public string LIBZIP_VERSION ] { 1.11.1 } Constant [ public int LENGTH_TO_END ] { 0 } Constant [ public int LENGTH_UNCHECKED ] { -2 } } - Static properties [0] { } - Static methods [2] { Method [ static public method isCompressionMethodSupported ] { - Parameters [2] { Parameter #0 [ int $method ] Parameter #1 [ bool $enc = true ] } - Return [ bool ] } Method [ static public method isEncryptionMethodSupported ] { - Parameters [2] { Parameter #0 [ int $method ] Parameter #1 [ bool $enc = true ] } - Return [ bool ] } } - Properties [6] { Property [ public int $lastId ] Property [ public int $status ] Property [ public int $statusSys ] Property [ public int $numFiles ] Property [ public string $filename ] Property [ public string $comment ] } - Methods [50] { Method [ public method open ] { - Parameters [2] { Parameter #0 [ string $filename ] Parameter #1 [ int $flags = 0 ] } - Tentative return [ int|bool ] } Method [ public method setPassword ] { - Parameters [1] { Parameter #0 [ string $password ] } - Tentative return [ bool ] } Method [ public method close ] { - Parameters [0] { } - Tentative return [ bool ] } Method [ public method count ] { - Parameters [0] { } - Tentative return [ int ] } Method [ public method getStatusString ] { - Parameters [0] { } - Tentative return [ string ] } Method [ public method clearError ] { - Parameters [0] { } - Return [ void ] } Method [ public method addEmptyDir ] { - Parameters [2] { Parameter #0 [ string $dirname ] Parameter #1 [ int $flags = 0 ] } - Tentative return [ bool ] } Method [ public method addFromString ] { - Parameters [3] { Parameter #0 [ string $name ] Parameter #1 [ string $content ] Parameter #2 [ int $flags = ZipArchive::FL_OVERWRITE ] } - Tentative return [ bool ] } Method [ public method addFile ] { - Parameters [5] { Parameter #0 [ string $filepath ] Parameter #1 [ string $entryname = "" ] Parameter #2 [ int $start = 0 ] Parameter #3 [ int $length = ZipArchive::LENGTH_TO_END ] Parameter #4 [ int $flags = ZipArchive::FL_OVERWRITE ] } - Tentative return [ bool ] } Method [ public method replaceFile ] { - Parameters [5] { Parameter #0 [ string $filepath ] Parameter #1 [ int $index ] Parameter #2 [ int $start = 0 ] Parameter #3 [ int $length = ZipArchive::LENGTH_TO_END ] Parameter #4 [ int $flags = 0 ] } - Tentative return [ bool ] } Method [ public method addGlob ] { - Parameters [3] { Parameter #0 [ string $pattern ] Parameter #1 [ int $flags = 0 ] Parameter #2 [ array $options = [] ] } - Tentative return [ array|false ] } Method [ public method addPattern ] { - Parameters [3] { Parameter #0 [ string $pattern ] Parameter #1 [ string $path = "." ] Parameter #2 [ array $options = [] ] } - Tentative return [ array|false ] } Method [ public method renameIndex ] { - Parameters [2] { Parameter #0 [ int $index ] Parameter #1 [ string $new_name ] } - Tentative return [ bool ] } Method [ public method renameName ] { - Parameters [2] { Parameter #0 [ string $name ] Parameter #1 [ string $new_name ] } - Tentative return [ bool ] } Method [ public method setArchiveComment ] { - Parameters [1] { Parameter #0 [ string $comment ] } - Tentative return [ bool ] } Method [ public method getArchiveComment ] { - Parameters [1] { Parameter #0 [ int $flags = 0 ] } - Tentative return [ string|false ] } Method [ public method setArchiveFlag ] { - Parameters [2] { Parameter #0 [ int $flag ] Parameter #1 [ int $value ] } - Return [ bool ] } Method [ public method getArchiveFlag ] { - Parameters [2] { Parameter #0 [ int $flag ] Parameter #1 [ int $flags = 0 ] } - Return [ int ] } Method [ public method setCommentIndex ] { - Parameters [2] { Parameter #0 [ int $index ] Parameter #1 [ string $comment ] } - Tentative return [ bool ] } Method [ public method setCommentName ] { - Parameters [2] { Parameter #0 [ string $name ] Parameter #1 [ string $comment ] } - Tentative return [ bool ] } Method [ public method setMtimeIndex ] { - Parameters [3] { Parameter #0 [ int $index ] Parameter #1 [ int $timestamp ] Parameter #2 [ int $flags = 0 ] } - Tentative return [ bool ] } Method [ public method setMtimeName ] { - Parameters [3] { Parameter #0 [ string $name ] Parameter #1 [ int $timestamp ] Parameter #2 [ int $flags = 0 ] } - Tentative return [ bool ] } Method [ public method getCommentIndex ] { - Parameters [2] { Parameter #0 [ int $index ] Parameter #1 [ int $flags = 0 ] } - Tentative return [ string|false ] } Method [ public method getCommentName ] { - Parameters [2] { Parameter #0 [ string $name ] Parameter #1 [ int $flags = 0 ] } - Tentative return [ string|false ] } Method [ public method deleteIndex ] { - Parameters [1] { Parameter #0 [ int $index ] } - Tentative return [ bool ] } Method [ public method deleteName ] { - Parameters [1] { Parameter #0 [ string $name ] } - Tentative return [ bool ] } Method [ public method statName ] { - Parameters [2] { Parameter #0 [ string $name ] Parameter #1 [ int $flags = 0 ] } - Tentative return [ array|false ] } Method [ public method statIndex ] { - Parameters [2] { Parameter #0 [ int $index ] Parameter #1 [ int $flags = 0 ] } - Tentative return [ array|false ] } Method [ public method locateName ] { - Parameters [2] { Parameter #0 [ string $name ] Parameter #1 [ int $flags = 0 ] } - Tentative return [ int|false ] } Method [ public method getNameIndex ] { - Parameters [2] { Parameter #0 [ int $index ] Parameter #1 [ int $flags = 0 ] } - Tentative return [ string|false ] } Method [ public method unchangeArchive ] { - Parameters [0] { } - Tentative return [ bool ] } Method [ public method unchangeAll ] { - Parameters [0] { } - Tentative return [ bool ] } Method [ public method unchangeIndex ] { - Parameters [1] { Parameter #0 [ int $index ] } - Tentative return [ bool ] } Method [ public method unchangeName ] { - Parameters [1] { Parameter #0 [ string $name ] } - Tentative return [ bool ] } Method [ public method extractTo ] { - Parameters [2] { Parameter #0 [ string $pathto ] Parameter #1 [ array|string|null $files = null ] } - Tentative return [ bool ] } Method [ public method getFromName ] { - Parameters [3] { Parameter #0 [ string $name ] Parameter #1 [ int $len = 0 ] Parameter #2 [ int $flags = 0 ] } - Tentative return [ string|false ] } Method [ public method getFromIndex ] { - Parameters [3] { Parameter #0 [ int $index ] Parameter #1 [ int $len = 0 ] Parameter #2 [ int $flags = 0 ] } - Tentative return [ string|false ] } Method [ public method getStreamIndex ] { - Parameters [2] { Parameter #0 [ int $index ] Parameter #1 [ int $flags = 0 ] } } Method [ public method getStreamName ] { - Parameters [2] { Parameter #0 [ string $name ] Parameter #1 [ int $flags = 0 ] } } Method [ public method getStream ] { - Parameters [1] { Parameter #0 [ string $name ] } } Method [ public method setExternalAttributesName ] { - Parameters [4] { Parameter #0 [ string $name ] Parameter #1 [ int $opsys ] Parameter #2 [ int $attr ] Parameter #3 [ int $flags = 0 ] } - Tentative return [ bool ] } Method [ public method setExternalAttributesIndex ] { - Parameters [4] { Parameter #0 [ int $index ] Parameter #1 [ int $opsys ] Parameter #2 [ int $attr ] Parameter #3 [ int $flags = 0 ] } - Tentative return [ bool ] } Method [ public method getExternalAttributesName ] { - Parameters [4] { Parameter #0 [ string $name ] Parameter #1 [ &$opsys ] Parameter #2 [ &$attr ] Parameter #3 [ int $flags = 0 ] } - Tentative return [ bool ] } Method [ public method getExternalAttributesIndex ] { - Parameters [4] { Parameter #0 [ int $index ] Parameter #1 [ &$opsys ] Parameter #2 [ &$attr ] Parameter #3 [ int $flags = 0 ] } - Tentative return [ bool ] } Method [ public method setCompressionName ] { - Parameters [3] { Parameter #0 [ string $name ] Parameter #1 [ int $method ] Parameter #2 [ int $compflags = 0 ] } - Tentative return [ bool ] } Method [ public method setCompressionIndex ] { - Parameters [3] { Parameter #0 [ int $index ] Parameter #1 [ int $method ] Parameter #2 [ int $compflags = 0 ] } - Tentative return [ bool ] } Method [ public method setEncryptionName ] { - Parameters [3] { Parameter #0 [ string $name ] Parameter #1 [ int $method ] Parameter #2 [ ?string $password = null ] } - Tentative return [ bool ] } Method [ public method setEncryptionIndex ] { - Parameters [3] { Parameter #0 [ int $index ] Parameter #1 [ int $method ] Parameter #2 [ ?string $password = null ] } - Tentative return [ bool ] } Method [ public method registerProgressCallback ] { - Parameters [2] { Parameter #0 [ float $rate ] Parameter #1 [ callable $callback ] } - Tentative return [ bool ] } Method [ public method registerCancelCallback ] { - Parameters [1] { Parameter #0 [ callable $callback ] } - Tentative return [ bool ] } } } } }