diff options
author | Remi Collet <remi@remirepo.net> | 2023-06-26 17:48:10 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2023-06-26 17:48:10 +0200 |
commit | 40b6a5cc27cfc2f5435e90d4fb216a924be5f5e3 (patch) | |
tree | 6e0707f24d458cc4f9eb6600b986ec2bc0887b9d /REFLECTION | |
parent | 4595cdb58c052bb8b73d4e58401c28c16d751b22 (diff) |
update to 1.22.0
Diffstat (limited to 'REFLECTION')
-rw-r--r-- | REFLECTION | 88 |
1 files changed, 78 insertions, 10 deletions
@@ -1,4 +1,4 @@ -Extension [ <persistent> extension #66 zip version 1.21.1 ] { +Extension [ <persistent> extension #66 zip version 1.22.0 ] { - Functions { Function [ <internal, deprecated:zip> function zip_open ] { @@ -77,7 +77,7 @@ Extension [ <persistent> extension #66 zip version 1.21.1 ] { - Classes [1] { Class [ <internal:zip> 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 [ <persistent> 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 [ <persistent> 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 [ <persistent> 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 [ <internal:zip> public method open ] { - Parameters [2] { Parameter #0 [ <required> string $filename ] Parameter #1 [ <optional> int $flags = 0 ] } + - Tentative return [ int|bool ] } Method [ <internal:zip> public method setPassword ] { @@ -226,24 +233,28 @@ Extension [ <persistent> extension #66 zip version 1.21.1 ] { - Parameters [1] { Parameter #0 [ <required> string $password ] } + - Tentative return [ bool ] } Method [ <internal:zip> public method close ] { - Parameters [0] { } + - Tentative return [ bool ] } Method [ <internal:zip, prototype Countable> public method count ] { - Parameters [0] { } + - Tentative return [ int ] } Method [ <internal:zip> public method getStatusString ] { - Parameters [0] { } + - Tentative return [ string ] } Method [ <internal:zip> public method clearError ] { @@ -259,6 +270,7 @@ Extension [ <persistent> extension #66 zip version 1.21.1 ] { Parameter #0 [ <required> string $dirname ] Parameter #1 [ <optional> int $flags = 0 ] } + - Tentative return [ bool ] } Method [ <internal:zip> public method addFromString ] { @@ -268,6 +280,7 @@ Extension [ <persistent> extension #66 zip version 1.21.1 ] { Parameter #1 [ <required> string $content ] Parameter #2 [ <optional> int $flags = ZipArchive::FL_OVERWRITE ] } + - Tentative return [ bool ] } Method [ <internal:zip> public method addFile ] { @@ -279,6 +292,7 @@ Extension [ <persistent> extension #66 zip version 1.21.1 ] { Parameter #3 [ <optional> int $length = 0 ] Parameter #4 [ <optional> int $flags = ZipArchive::FL_OVERWRITE ] } + - Tentative return [ bool ] } Method [ <internal:zip> public method replaceFile ] { @@ -290,6 +304,7 @@ Extension [ <persistent> extension #66 zip version 1.21.1 ] { Parameter #3 [ <optional> int $length = 0 ] Parameter #4 [ <optional> int $flags = 0 ] } + - Tentative return [ bool ] } Method [ <internal:zip> public method addGlob ] { @@ -299,6 +314,7 @@ Extension [ <persistent> extension #66 zip version 1.21.1 ] { Parameter #1 [ <optional> int $flags = 0 ] Parameter #2 [ <optional> array $options = [] ] } + - Tentative return [ array|false ] } Method [ <internal:zip> public method addPattern ] { @@ -308,6 +324,7 @@ Extension [ <persistent> extension #66 zip version 1.21.1 ] { Parameter #1 [ <optional> string $path = "." ] Parameter #2 [ <optional> array $options = [] ] } + - Tentative return [ array|false ] } Method [ <internal:zip> public method renameIndex ] { @@ -316,6 +333,7 @@ Extension [ <persistent> extension #66 zip version 1.21.1 ] { Parameter #0 [ <required> int $index ] Parameter #1 [ <required> string $new_name ] } + - Tentative return [ bool ] } Method [ <internal:zip> public method renameName ] { @@ -324,6 +342,7 @@ Extension [ <persistent> extension #66 zip version 1.21.1 ] { Parameter #0 [ <required> string $name ] Parameter #1 [ <required> string $new_name ] } + - Tentative return [ bool ] } Method [ <internal:zip> public method setArchiveComment ] { @@ -331,6 +350,7 @@ Extension [ <persistent> extension #66 zip version 1.21.1 ] { - Parameters [1] { Parameter #0 [ <required> string $comment ] } + - Tentative return [ bool ] } Method [ <internal:zip> public method getArchiveComment ] { @@ -338,6 +358,25 @@ Extension [ <persistent> extension #66 zip version 1.21.1 ] { - Parameters [1] { Parameter #0 [ <optional> int $flags = 0 ] } + - Tentative return [ string|false ] + } + + Method [ <internal:zip> public method setArchiveFlag ] { + + - Parameters [2] { + Parameter #0 [ <required> int $flag ] + Parameter #1 [ <required> int $value ] + } + - Return [ bool ] + } + + Method [ <internal:zip> public method getArchiveFlag ] { + + - Parameters [2] { + Parameter #0 [ <required> int $flag ] + Parameter #1 [ <optional> int $flags = 0 ] + } + - Return [ int ] } Method [ <internal:zip> public method setCommentIndex ] { @@ -346,6 +385,7 @@ Extension [ <persistent> extension #66 zip version 1.21.1 ] { Parameter #0 [ <required> int $index ] Parameter #1 [ <required> string $comment ] } + - Tentative return [ bool ] } Method [ <internal:zip> public method setCommentName ] { @@ -354,6 +394,7 @@ Extension [ <persistent> extension #66 zip version 1.21.1 ] { Parameter #0 [ <required> string $name ] Parameter #1 [ <required> string $comment ] } + - Tentative return [ bool ] } Method [ <internal:zip> public method setMtimeIndex ] { @@ -363,6 +404,7 @@ Extension [ <persistent> extension #66 zip version 1.21.1 ] { Parameter #1 [ <required> int $timestamp ] Parameter #2 [ <optional> int $flags = 0 ] } + - Tentative return [ bool ] } Method [ <internal:zip> public method setMtimeName ] { @@ -372,6 +414,7 @@ Extension [ <persistent> extension #66 zip version 1.21.1 ] { Parameter #1 [ <required> int $timestamp ] Parameter #2 [ <optional> int $flags = 0 ] } + - Tentative return [ bool ] } Method [ <internal:zip> public method getCommentIndex ] { @@ -380,6 +423,7 @@ Extension [ <persistent> extension #66 zip version 1.21.1 ] { Parameter #0 [ <required> int $index ] Parameter #1 [ <optional> int $flags = 0 ] } + - Tentative return [ string|false ] } Method [ <internal:zip> public method getCommentName ] { @@ -388,6 +432,7 @@ Extension [ <persistent> extension #66 zip version 1.21.1 ] { Parameter #0 [ <required> string $name ] Parameter #1 [ <optional> int $flags = 0 ] } + - Tentative return [ string|false ] } Method [ <internal:zip> public method deleteIndex ] { @@ -395,6 +440,7 @@ Extension [ <persistent> extension #66 zip version 1.21.1 ] { - Parameters [1] { Parameter #0 [ <required> int $index ] } + - Tentative return [ bool ] } Method [ <internal:zip> public method deleteName ] { @@ -402,6 +448,7 @@ Extension [ <persistent> extension #66 zip version 1.21.1 ] { - Parameters [1] { Parameter #0 [ <required> string $name ] } + - Tentative return [ bool ] } Method [ <internal:zip> public method statName ] { @@ -410,6 +457,7 @@ Extension [ <persistent> extension #66 zip version 1.21.1 ] { Parameter #0 [ <required> string $name ] Parameter #1 [ <optional> int $flags = 0 ] } + - Tentative return [ array|false ] } Method [ <internal:zip> public method statIndex ] { @@ -418,6 +466,7 @@ Extension [ <persistent> extension #66 zip version 1.21.1 ] { Parameter #0 [ <required> int $index ] Parameter #1 [ <optional> int $flags = 0 ] } + - Tentative return [ array|false ] } Method [ <internal:zip> public method locateName ] { @@ -426,6 +475,7 @@ Extension [ <persistent> extension #66 zip version 1.21.1 ] { Parameter #0 [ <required> string $name ] Parameter #1 [ <optional> int $flags = 0 ] } + - Tentative return [ int|false ] } Method [ <internal:zip> public method getNameIndex ] { @@ -434,18 +484,21 @@ Extension [ <persistent> extension #66 zip version 1.21.1 ] { Parameter #0 [ <required> int $index ] Parameter #1 [ <optional> int $flags = 0 ] } + - Tentative return [ string|false ] } Method [ <internal:zip> public method unchangeArchive ] { - Parameters [0] { } + - Tentative return [ bool ] } Method [ <internal:zip> public method unchangeAll ] { - Parameters [0] { } + - Tentative return [ bool ] } Method [ <internal:zip> public method unchangeIndex ] { @@ -453,6 +506,7 @@ Extension [ <persistent> extension #66 zip version 1.21.1 ] { - Parameters [1] { Parameter #0 [ <required> int $index ] } + - Tentative return [ bool ] } Method [ <internal:zip> public method unchangeName ] { @@ -460,6 +514,7 @@ Extension [ <persistent> extension #66 zip version 1.21.1 ] { - Parameters [1] { Parameter #0 [ <required> string $name ] } + - Tentative return [ bool ] } Method [ <internal:zip> public method extractTo ] { @@ -468,6 +523,7 @@ Extension [ <persistent> extension #66 zip version 1.21.1 ] { Parameter #0 [ <required> string $pathto ] Parameter #1 [ <optional> array|string|null $files = null ] } + - Tentative return [ bool ] } Method [ <internal:zip> public method getFromName ] { @@ -477,6 +533,7 @@ Extension [ <persistent> extension #66 zip version 1.21.1 ] { Parameter #1 [ <optional> int $len = 0 ] Parameter #2 [ <optional> int $flags = 0 ] } + - Tentative return [ string|false ] } Method [ <internal:zip> public method getFromIndex ] { @@ -486,6 +543,7 @@ Extension [ <persistent> extension #66 zip version 1.21.1 ] { Parameter #1 [ <optional> int $len = 0 ] Parameter #2 [ <optional> int $flags = 0 ] } + - Tentative return [ string|false ] } Method [ <internal:zip> public method getStreamIndex ] { @@ -519,6 +577,7 @@ Extension [ <persistent> extension #66 zip version 1.21.1 ] { Parameter #2 [ <required> int $attr ] Parameter #3 [ <optional> int $flags = 0 ] } + - Tentative return [ bool ] } Method [ <internal:zip> public method setExternalAttributesIndex ] { @@ -529,6 +588,7 @@ Extension [ <persistent> extension #66 zip version 1.21.1 ] { Parameter #2 [ <required> int $attr ] Parameter #3 [ <optional> int $flags = 0 ] } + - Tentative return [ bool ] } Method [ <internal:zip> public method getExternalAttributesName ] { @@ -539,6 +599,7 @@ Extension [ <persistent> extension #66 zip version 1.21.1 ] { Parameter #2 [ <required> &$attr ] Parameter #3 [ <optional> int $flags = 0 ] } + - Tentative return [ bool ] } Method [ <internal:zip> public method getExternalAttributesIndex ] { @@ -549,6 +610,7 @@ Extension [ <persistent> extension #66 zip version 1.21.1 ] { Parameter #2 [ <required> &$attr ] Parameter #3 [ <optional> int $flags = 0 ] } + - Tentative return [ bool ] } Method [ <internal:zip> public method setCompressionName ] { @@ -558,6 +620,7 @@ Extension [ <persistent> extension #66 zip version 1.21.1 ] { Parameter #1 [ <required> int $method ] Parameter #2 [ <optional> int $compflags = 0 ] } + - Tentative return [ bool ] } Method [ <internal:zip> public method setCompressionIndex ] { @@ -567,6 +630,7 @@ Extension [ <persistent> extension #66 zip version 1.21.1 ] { Parameter #1 [ <required> int $method ] Parameter #2 [ <optional> int $compflags = 0 ] } + - Tentative return [ bool ] } Method [ <internal:zip> public method setEncryptionName ] { @@ -576,6 +640,7 @@ Extension [ <persistent> extension #66 zip version 1.21.1 ] { Parameter #1 [ <required> int $method ] Parameter #2 [ <optional> ?string $password = null ] } + - Tentative return [ bool ] } Method [ <internal:zip> public method setEncryptionIndex ] { @@ -585,6 +650,7 @@ Extension [ <persistent> extension #66 zip version 1.21.1 ] { Parameter #1 [ <required> int $method ] Parameter #2 [ <optional> ?string $password = null ] } + - Tentative return [ bool ] } Method [ <internal:zip> public method registerProgressCallback ] { @@ -593,6 +659,7 @@ Extension [ <persistent> extension #66 zip version 1.21.1 ] { Parameter #0 [ <required> float $rate ] Parameter #1 [ <required> callable $callback ] } + - Tentative return [ bool ] } Method [ <internal:zip> public method registerCancelCallback ] { @@ -600,6 +667,7 @@ Extension [ <persistent> extension #66 zip version 1.21.1 ] { - Parameters [1] { Parameter #0 [ <required> callable $callback ] } + - Tentative return [ bool ] } } } |