From 40b6a5cc27cfc2f5435e90d4fb216a924be5f5e3 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 26 Jun 2023 17:48:10 +0200 Subject: update to 1.22.0 --- REFLECTION | 88 +++++++++++++++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 78 insertions(+), 10 deletions(-) (limited to 'REFLECTION') diff --git a/REFLECTION b/REFLECTION index 9b1f3db..6b7f4df 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #66 zip version 1.21.1 ] { +Extension [ extension #66 zip version 1.22.0 ] { - Functions { Function [ function zip_open ] { @@ -77,7 +77,7 @@ Extension [ extension #66 zip version 1.21.1 ] { - Classes [1] { Class [ class ZipArchive implements Countable ] { - - Constants [100] { + - Constants [106] { Constant [ public int CREATE ] { 1 } Constant [ public int EXCL ] { 2 } Constant [ public int CHECKCONS ] { 4 } @@ -150,6 +150,12 @@ Extension [ extension #66 zip version 1.21.1 ] { 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 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 } @@ -177,7 +183,7 @@ Extension [ extension #66 zip version 1.21.1 ] { 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.9.2 } + Constant [ public string LIBZIP_VERSION ] { 1.10.0 } } - Static properties [0] { @@ -204,21 +210,22 @@ Extension [ extension #66 zip version 1.21.1 ] { } - Properties [6] { - Property [ public $lastId = NULL ] - Property [ public $status = NULL ] - Property [ public $statusSys = NULL ] - Property [ public $numFiles = NULL ] - Property [ public $filename = NULL ] - Property [ public $comment = NULL ] + 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 [48] { + - 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 ] { @@ -226,24 +233,28 @@ Extension [ extension #66 zip version 1.21.1 ] { - 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 ] { @@ -259,6 +270,7 @@ Extension [ extension #66 zip version 1.21.1 ] { Parameter #0 [ string $dirname ] Parameter #1 [ int $flags = 0 ] } + - Tentative return [ bool ] } Method [ public method addFromString ] { @@ -268,6 +280,7 @@ Extension [ extension #66 zip version 1.21.1 ] { Parameter #1 [ string $content ] Parameter #2 [ int $flags = ZipArchive::FL_OVERWRITE ] } + - Tentative return [ bool ] } Method [ public method addFile ] { @@ -279,6 +292,7 @@ Extension [ extension #66 zip version 1.21.1 ] { Parameter #3 [ int $length = 0 ] Parameter #4 [ int $flags = ZipArchive::FL_OVERWRITE ] } + - Tentative return [ bool ] } Method [ public method replaceFile ] { @@ -290,6 +304,7 @@ Extension [ extension #66 zip version 1.21.1 ] { Parameter #3 [ int $length = 0 ] Parameter #4 [ int $flags = 0 ] } + - Tentative return [ bool ] } Method [ public method addGlob ] { @@ -299,6 +314,7 @@ Extension [ extension #66 zip version 1.21.1 ] { Parameter #1 [ int $flags = 0 ] Parameter #2 [ array $options = [] ] } + - Tentative return [ array|false ] } Method [ public method addPattern ] { @@ -308,6 +324,7 @@ Extension [ extension #66 zip version 1.21.1 ] { Parameter #1 [ string $path = "." ] Parameter #2 [ array $options = [] ] } + - Tentative return [ array|false ] } Method [ public method renameIndex ] { @@ -316,6 +333,7 @@ Extension [ extension #66 zip version 1.21.1 ] { Parameter #0 [ int $index ] Parameter #1 [ string $new_name ] } + - Tentative return [ bool ] } Method [ public method renameName ] { @@ -324,6 +342,7 @@ Extension [ extension #66 zip version 1.21.1 ] { Parameter #0 [ string $name ] Parameter #1 [ string $new_name ] } + - Tentative return [ bool ] } Method [ public method setArchiveComment ] { @@ -331,6 +350,7 @@ Extension [ extension #66 zip version 1.21.1 ] { - Parameters [1] { Parameter #0 [ string $comment ] } + - Tentative return [ bool ] } Method [ public method getArchiveComment ] { @@ -338,6 +358,25 @@ Extension [ extension #66 zip version 1.21.1 ] { - 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 ] { @@ -346,6 +385,7 @@ Extension [ extension #66 zip version 1.21.1 ] { Parameter #0 [ int $index ] Parameter #1 [ string $comment ] } + - Tentative return [ bool ] } Method [ public method setCommentName ] { @@ -354,6 +394,7 @@ Extension [ extension #66 zip version 1.21.1 ] { Parameter #0 [ string $name ] Parameter #1 [ string $comment ] } + - Tentative return [ bool ] } Method [ public method setMtimeIndex ] { @@ -363,6 +404,7 @@ Extension [ extension #66 zip version 1.21.1 ] { Parameter #1 [ int $timestamp ] Parameter #2 [ int $flags = 0 ] } + - Tentative return [ bool ] } Method [ public method setMtimeName ] { @@ -372,6 +414,7 @@ Extension [ extension #66 zip version 1.21.1 ] { Parameter #1 [ int $timestamp ] Parameter #2 [ int $flags = 0 ] } + - Tentative return [ bool ] } Method [ public method getCommentIndex ] { @@ -380,6 +423,7 @@ Extension [ extension #66 zip version 1.21.1 ] { Parameter #0 [ int $index ] Parameter #1 [ int $flags = 0 ] } + - Tentative return [ string|false ] } Method [ public method getCommentName ] { @@ -388,6 +432,7 @@ Extension [ extension #66 zip version 1.21.1 ] { Parameter #0 [ string $name ] Parameter #1 [ int $flags = 0 ] } + - Tentative return [ string|false ] } Method [ public method deleteIndex ] { @@ -395,6 +440,7 @@ Extension [ extension #66 zip version 1.21.1 ] { - Parameters [1] { Parameter #0 [ int $index ] } + - Tentative return [ bool ] } Method [ public method deleteName ] { @@ -402,6 +448,7 @@ Extension [ extension #66 zip version 1.21.1 ] { - Parameters [1] { Parameter #0 [ string $name ] } + - Tentative return [ bool ] } Method [ public method statName ] { @@ -410,6 +457,7 @@ Extension [ extension #66 zip version 1.21.1 ] { Parameter #0 [ string $name ] Parameter #1 [ int $flags = 0 ] } + - Tentative return [ array|false ] } Method [ public method statIndex ] { @@ -418,6 +466,7 @@ Extension [ extension #66 zip version 1.21.1 ] { Parameter #0 [ int $index ] Parameter #1 [ int $flags = 0 ] } + - Tentative return [ array|false ] } Method [ public method locateName ] { @@ -426,6 +475,7 @@ Extension [ extension #66 zip version 1.21.1 ] { Parameter #0 [ string $name ] Parameter #1 [ int $flags = 0 ] } + - Tentative return [ int|false ] } Method [ public method getNameIndex ] { @@ -434,18 +484,21 @@ Extension [ extension #66 zip version 1.21.1 ] { 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 ] { @@ -453,6 +506,7 @@ Extension [ extension #66 zip version 1.21.1 ] { - Parameters [1] { Parameter #0 [ int $index ] } + - Tentative return [ bool ] } Method [ public method unchangeName ] { @@ -460,6 +514,7 @@ Extension [ extension #66 zip version 1.21.1 ] { - Parameters [1] { Parameter #0 [ string $name ] } + - Tentative return [ bool ] } Method [ public method extractTo ] { @@ -468,6 +523,7 @@ Extension [ extension #66 zip version 1.21.1 ] { Parameter #0 [ string $pathto ] Parameter #1 [ array|string|null $files = null ] } + - Tentative return [ bool ] } Method [ public method getFromName ] { @@ -477,6 +533,7 @@ Extension [ extension #66 zip version 1.21.1 ] { Parameter #1 [ int $len = 0 ] Parameter #2 [ int $flags = 0 ] } + - Tentative return [ string|false ] } Method [ public method getFromIndex ] { @@ -486,6 +543,7 @@ Extension [ extension #66 zip version 1.21.1 ] { Parameter #1 [ int $len = 0 ] Parameter #2 [ int $flags = 0 ] } + - Tentative return [ string|false ] } Method [ public method getStreamIndex ] { @@ -519,6 +577,7 @@ Extension [ extension #66 zip version 1.21.1 ] { Parameter #2 [ int $attr ] Parameter #3 [ int $flags = 0 ] } + - Tentative return [ bool ] } Method [ public method setExternalAttributesIndex ] { @@ -529,6 +588,7 @@ Extension [ extension #66 zip version 1.21.1 ] { Parameter #2 [ int $attr ] Parameter #3 [ int $flags = 0 ] } + - Tentative return [ bool ] } Method [ public method getExternalAttributesName ] { @@ -539,6 +599,7 @@ Extension [ extension #66 zip version 1.21.1 ] { Parameter #2 [ &$attr ] Parameter #3 [ int $flags = 0 ] } + - Tentative return [ bool ] } Method [ public method getExternalAttributesIndex ] { @@ -549,6 +610,7 @@ Extension [ extension #66 zip version 1.21.1 ] { Parameter #2 [ &$attr ] Parameter #3 [ int $flags = 0 ] } + - Tentative return [ bool ] } Method [ public method setCompressionName ] { @@ -558,6 +620,7 @@ Extension [ extension #66 zip version 1.21.1 ] { Parameter #1 [ int $method ] Parameter #2 [ int $compflags = 0 ] } + - Tentative return [ bool ] } Method [ public method setCompressionIndex ] { @@ -567,6 +630,7 @@ Extension [ extension #66 zip version 1.21.1 ] { Parameter #1 [ int $method ] Parameter #2 [ int $compflags = 0 ] } + - Tentative return [ bool ] } Method [ public method setEncryptionName ] { @@ -576,6 +640,7 @@ Extension [ extension #66 zip version 1.21.1 ] { Parameter #1 [ int $method ] Parameter #2 [ ?string $password = null ] } + - Tentative return [ bool ] } Method [ public method setEncryptionIndex ] { @@ -585,6 +650,7 @@ Extension [ extension #66 zip version 1.21.1 ] { Parameter #1 [ int $method ] Parameter #2 [ ?string $password = null ] } + - Tentative return [ bool ] } Method [ public method registerProgressCallback ] { @@ -593,6 +659,7 @@ Extension [ extension #66 zip version 1.21.1 ] { Parameter #0 [ float $rate ] Parameter #1 [ callable $callback ] } + - Tentative return [ bool ] } Method [ public method registerCancelCallback ] { @@ -600,6 +667,7 @@ Extension [ extension #66 zip version 1.21.1 ] { - Parameters [1] { Parameter #0 [ callable $callback ] } + - Tentative return [ bool ] } } } -- cgit