diff options
Diffstat (limited to 'REFLECTION')
-rw-r--r-- | REFLECTION | 100 |
1 files changed, 88 insertions, 12 deletions
@@ -1,4 +1,8 @@ -Extension [ <persistent> extension #66 zip version 1.21.0 ] { +Extension [ <persistent> extension #66 zip version 1.22.6 ] { + + - Dependencies { + Dependency [ pcre (Required) ] + } - Functions { Function [ <internal, deprecated:zip> function zip_open ] { @@ -77,7 +81,7 @@ Extension [ <persistent> extension #66 zip version 1.21.0 ] { - Classes [1] { Class [ <internal:zip> class ZipArchive implements Countable ] { - - Constants [100] { + - Constants [110] { Constant [ public int CREATE ] { 1 } Constant [ public int EXCL ] { 2 } Constant [ public int CHECKCONS ] { 4 } @@ -97,6 +101,7 @@ Extension [ <persistent> extension #66 zip version 1.21.0 ] { 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 } @@ -150,6 +155,13 @@ Extension [ <persistent> extension #66 zip version 1.21.0 ] { 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 } @@ -177,7 +189,9 @@ Extension [ <persistent> extension #66 zip version 1.21.0 ] { 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.11.3 } + Constant [ public int LENGTH_TO_END ] { 0 } + Constant [ public int LENGTH_UNCHECKED ] { -2 } } - Static properties [0] { @@ -204,21 +218,22 @@ Extension [ <persistent> extension #66 zip version 1.21.0 ] { } - 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 +241,28 @@ Extension [ <persistent> extension #66 zip version 1.21.0 ] { - 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 +278,7 @@ Extension [ <persistent> extension #66 zip version 1.21.0 ] { Parameter #0 [ <required> string $dirname ] Parameter #1 [ <optional> int $flags = 0 ] } + - Tentative return [ bool ] } Method [ <internal:zip> public method addFromString ] { @@ -268,6 +288,7 @@ Extension [ <persistent> extension #66 zip version 1.21.0 ] { Parameter #1 [ <required> string $content ] Parameter #2 [ <optional> int $flags = ZipArchive::FL_OVERWRITE ] } + - Tentative return [ bool ] } Method [ <internal:zip> public method addFile ] { @@ -276,9 +297,10 @@ Extension [ <persistent> extension #66 zip version 1.21.0 ] { Parameter #0 [ <required> string $filepath ] Parameter #1 [ <optional> string $entryname = "" ] Parameter #2 [ <optional> int $start = 0 ] - Parameter #3 [ <optional> int $length = 0 ] + Parameter #3 [ <optional> int $length = ZipArchive::LENGTH_TO_END ] Parameter #4 [ <optional> int $flags = ZipArchive::FL_OVERWRITE ] } + - Tentative return [ bool ] } Method [ <internal:zip> public method replaceFile ] { @@ -287,9 +309,10 @@ Extension [ <persistent> extension #66 zip version 1.21.0 ] { Parameter #0 [ <required> string $filepath ] Parameter #1 [ <required> int $index ] Parameter #2 [ <optional> int $start = 0 ] - Parameter #3 [ <optional> int $length = 0 ] + Parameter #3 [ <optional> int $length = ZipArchive::LENGTH_TO_END ] Parameter #4 [ <optional> int $flags = 0 ] } + - Tentative return [ bool ] } Method [ <internal:zip> public method addGlob ] { @@ -299,6 +322,7 @@ Extension [ <persistent> extension #66 zip version 1.21.0 ] { Parameter #1 [ <optional> int $flags = 0 ] Parameter #2 [ <optional> array $options = [] ] } + - Tentative return [ array|false ] } Method [ <internal:zip> public method addPattern ] { @@ -308,6 +332,7 @@ Extension [ <persistent> extension #66 zip version 1.21.0 ] { Parameter #1 [ <optional> string $path = "." ] Parameter #2 [ <optional> array $options = [] ] } + - Tentative return [ array|false ] } Method [ <internal:zip> public method renameIndex ] { @@ -316,6 +341,7 @@ Extension [ <persistent> extension #66 zip version 1.21.0 ] { Parameter #0 [ <required> int $index ] Parameter #1 [ <required> string $new_name ] } + - Tentative return [ bool ] } Method [ <internal:zip> public method renameName ] { @@ -324,6 +350,7 @@ Extension [ <persistent> extension #66 zip version 1.21.0 ] { Parameter #0 [ <required> string $name ] Parameter #1 [ <required> string $new_name ] } + - Tentative return [ bool ] } Method [ <internal:zip> public method setArchiveComment ] { @@ -331,6 +358,7 @@ Extension [ <persistent> extension #66 zip version 1.21.0 ] { - Parameters [1] { Parameter #0 [ <required> string $comment ] } + - Tentative return [ bool ] } Method [ <internal:zip> public method getArchiveComment ] { @@ -338,6 +366,25 @@ Extension [ <persistent> extension #66 zip version 1.21.0 ] { - 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 +393,7 @@ Extension [ <persistent> extension #66 zip version 1.21.0 ] { Parameter #0 [ <required> int $index ] Parameter #1 [ <required> string $comment ] } + - Tentative return [ bool ] } Method [ <internal:zip> public method setCommentName ] { @@ -354,6 +402,7 @@ Extension [ <persistent> extension #66 zip version 1.21.0 ] { Parameter #0 [ <required> string $name ] Parameter #1 [ <required> string $comment ] } + - Tentative return [ bool ] } Method [ <internal:zip> public method setMtimeIndex ] { @@ -363,6 +412,7 @@ Extension [ <persistent> extension #66 zip version 1.21.0 ] { Parameter #1 [ <required> int $timestamp ] Parameter #2 [ <optional> int $flags = 0 ] } + - Tentative return [ bool ] } Method [ <internal:zip> public method setMtimeName ] { @@ -372,6 +422,7 @@ Extension [ <persistent> extension #66 zip version 1.21.0 ] { Parameter #1 [ <required> int $timestamp ] Parameter #2 [ <optional> int $flags = 0 ] } + - Tentative return [ bool ] } Method [ <internal:zip> public method getCommentIndex ] { @@ -380,6 +431,7 @@ Extension [ <persistent> extension #66 zip version 1.21.0 ] { Parameter #0 [ <required> int $index ] Parameter #1 [ <optional> int $flags = 0 ] } + - Tentative return [ string|false ] } Method [ <internal:zip> public method getCommentName ] { @@ -388,6 +440,7 @@ Extension [ <persistent> extension #66 zip version 1.21.0 ] { Parameter #0 [ <required> string $name ] Parameter #1 [ <optional> int $flags = 0 ] } + - Tentative return [ string|false ] } Method [ <internal:zip> public method deleteIndex ] { @@ -395,6 +448,7 @@ Extension [ <persistent> extension #66 zip version 1.21.0 ] { - Parameters [1] { Parameter #0 [ <required> int $index ] } + - Tentative return [ bool ] } Method [ <internal:zip> public method deleteName ] { @@ -402,6 +456,7 @@ Extension [ <persistent> extension #66 zip version 1.21.0 ] { - Parameters [1] { Parameter #0 [ <required> string $name ] } + - Tentative return [ bool ] } Method [ <internal:zip> public method statName ] { @@ -410,6 +465,7 @@ Extension [ <persistent> extension #66 zip version 1.21.0 ] { Parameter #0 [ <required> string $name ] Parameter #1 [ <optional> int $flags = 0 ] } + - Tentative return [ array|false ] } Method [ <internal:zip> public method statIndex ] { @@ -418,6 +474,7 @@ Extension [ <persistent> extension #66 zip version 1.21.0 ] { Parameter #0 [ <required> int $index ] Parameter #1 [ <optional> int $flags = 0 ] } + - Tentative return [ array|false ] } Method [ <internal:zip> public method locateName ] { @@ -426,6 +483,7 @@ Extension [ <persistent> extension #66 zip version 1.21.0 ] { Parameter #0 [ <required> string $name ] Parameter #1 [ <optional> int $flags = 0 ] } + - Tentative return [ int|false ] } Method [ <internal:zip> public method getNameIndex ] { @@ -434,18 +492,21 @@ Extension [ <persistent> extension #66 zip version 1.21.0 ] { 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 +514,7 @@ Extension [ <persistent> extension #66 zip version 1.21.0 ] { - Parameters [1] { Parameter #0 [ <required> int $index ] } + - Tentative return [ bool ] } Method [ <internal:zip> public method unchangeName ] { @@ -460,6 +522,7 @@ Extension [ <persistent> extension #66 zip version 1.21.0 ] { - Parameters [1] { Parameter #0 [ <required> string $name ] } + - Tentative return [ bool ] } Method [ <internal:zip> public method extractTo ] { @@ -468,6 +531,7 @@ Extension [ <persistent> extension #66 zip version 1.21.0 ] { Parameter #0 [ <required> string $pathto ] Parameter #1 [ <optional> array|string|null $files = null ] } + - Tentative return [ bool ] } Method [ <internal:zip> public method getFromName ] { @@ -477,6 +541,7 @@ Extension [ <persistent> extension #66 zip version 1.21.0 ] { Parameter #1 [ <optional> int $len = 0 ] Parameter #2 [ <optional> int $flags = 0 ] } + - Tentative return [ string|false ] } Method [ <internal:zip> public method getFromIndex ] { @@ -486,6 +551,7 @@ Extension [ <persistent> extension #66 zip version 1.21.0 ] { Parameter #1 [ <optional> int $len = 0 ] Parameter #2 [ <optional> int $flags = 0 ] } + - Tentative return [ string|false ] } Method [ <internal:zip> public method getStreamIndex ] { @@ -519,6 +585,7 @@ Extension [ <persistent> extension #66 zip version 1.21.0 ] { Parameter #2 [ <required> int $attr ] Parameter #3 [ <optional> int $flags = 0 ] } + - Tentative return [ bool ] } Method [ <internal:zip> public method setExternalAttributesIndex ] { @@ -529,6 +596,7 @@ Extension [ <persistent> extension #66 zip version 1.21.0 ] { Parameter #2 [ <required> int $attr ] Parameter #3 [ <optional> int $flags = 0 ] } + - Tentative return [ bool ] } Method [ <internal:zip> public method getExternalAttributesName ] { @@ -539,6 +607,7 @@ Extension [ <persistent> extension #66 zip version 1.21.0 ] { Parameter #2 [ <required> &$attr ] Parameter #3 [ <optional> int $flags = 0 ] } + - Tentative return [ bool ] } Method [ <internal:zip> public method getExternalAttributesIndex ] { @@ -549,6 +618,7 @@ Extension [ <persistent> extension #66 zip version 1.21.0 ] { Parameter #2 [ <required> &$attr ] Parameter #3 [ <optional> int $flags = 0 ] } + - Tentative return [ bool ] } Method [ <internal:zip> public method setCompressionName ] { @@ -558,6 +628,7 @@ Extension [ <persistent> extension #66 zip version 1.21.0 ] { Parameter #1 [ <required> int $method ] Parameter #2 [ <optional> int $compflags = 0 ] } + - Tentative return [ bool ] } Method [ <internal:zip> public method setCompressionIndex ] { @@ -567,6 +638,7 @@ Extension [ <persistent> extension #66 zip version 1.21.0 ] { Parameter #1 [ <required> int $method ] Parameter #2 [ <optional> int $compflags = 0 ] } + - Tentative return [ bool ] } Method [ <internal:zip> public method setEncryptionName ] { @@ -576,6 +648,7 @@ Extension [ <persistent> extension #66 zip version 1.21.0 ] { Parameter #1 [ <required> int $method ] Parameter #2 [ <optional> ?string $password = null ] } + - Tentative return [ bool ] } Method [ <internal:zip> public method setEncryptionIndex ] { @@ -585,6 +658,7 @@ Extension [ <persistent> extension #66 zip version 1.21.0 ] { Parameter #1 [ <required> int $method ] Parameter #2 [ <optional> ?string $password = null ] } + - Tentative return [ bool ] } Method [ <internal:zip> public method registerProgressCallback ] { @@ -593,6 +667,7 @@ Extension [ <persistent> extension #66 zip version 1.21.0 ] { Parameter #0 [ <required> float $rate ] Parameter #1 [ <required> callable $callback ] } + - Tentative return [ bool ] } Method [ <internal:zip> public method registerCancelCallback ] { @@ -600,6 +675,7 @@ Extension [ <persistent> extension #66 zip version 1.21.0 ] { - Parameters [1] { Parameter #0 [ <required> callable $callback ] } + - Tentative return [ bool ] } } } |