summaryrefslogtreecommitdiffstats
path: root/REFLECTION
diff options
context:
space:
mode:
Diffstat (limited to 'REFLECTION')
-rw-r--r--REFLECTION95
1 files changed, 83 insertions, 12 deletions
diff --git a/REFLECTION b/REFLECTION
index 3044070..4f6df87 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #66 zip version 1.21.0 ] {
+Extension [ <persistent> extension #66 zip version 1.22.3 ] {
- Functions {
Function [ <internal, deprecated:zip> function zip_open ] {
@@ -77,7 +77,7 @@ Extension [ <persistent> extension #66 zip version 1.21.0 ] {
- Classes [1] {
Class [ <internal:zip> class ZipArchive implements Countable ] {
- - Constants [100] {
+ - Constants [109] {
Constant [ public int CREATE ] { 1 }
Constant [ public int EXCL ] { 2 }
Constant [ public int CHECKCONS ] { 4 }
@@ -97,6 +97,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 +151,12 @@ 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 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 +184,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.10.1 }
+ Constant [ public int LENGTH_TO_END ] { 0 }
+ Constant [ public int LENGTH_UNCHECKED ] { -2 }
}
- Static properties [0] {
@@ -204,21 +213,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 +236,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 +273,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 +283,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 +292,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 +304,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 +317,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 +327,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 +336,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 +345,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 +353,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 +361,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 +388,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 +397,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 +407,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 +417,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 +426,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 +435,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 +443,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 +451,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 +460,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 +469,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 +478,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 +487,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 +509,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 +517,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 +526,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 +536,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 +546,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 +580,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 +591,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 +602,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 +613,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 +623,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 +633,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 +643,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 +653,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 +662,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 +670,7 @@ Extension [ <persistent> extension #66 zip version 1.21.0 ] {
- Parameters [1] {
Parameter #0 [ <required> callable $callback ]
}
+ - Tentative return [ bool ]
}
}
}