php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
ZipArchive Class Reference
Inheritance diagram for ZipArchive:
Countable

Public Member Functions

 open (string $filename, int $flags=0)
 
 setPassword (#[\SensitiveParameter] string $password)
 
 close ()
 
 count ()
 
 getStatusString ()
 
 clearError ()
 
 addEmptyDir (string $dirname, int $flags=0)
 
 addFromString (string $name, string $content, int $flags=ZipArchive::FL_OVERWRITE)
 
 addFile (string $filepath, string $entryname="", int $start=0, int $length=ZipArchive::LENGTH_TO_END, int $flags=ZipArchive::FL_OVERWRITE)
 
 replaceFile (string $filepath, int $index, int $start=0, int $length=ZipArchive::LENGTH_TO_END, int $flags=0)
 
 addGlob (string $pattern, int $flags=0, array $options=[])
 
 addPattern (string $pattern, string $path=".", array $options=[])
 
 renameIndex (int $index, string $new_name)
 
 renameName (string $name, string $new_name)
 
 setArchiveComment (string $comment)
 
 getArchiveComment (int $flags=0)
 
 setArchiveFlag (int $flag, int $value)
 
 getArchiveFlag (int $flag, int $flags=0)
 
 setCommentIndex (int $index, string $comment)
 
 setCommentName (string $name, string $comment)
 
 setMtimeIndex (int $index, int $timestamp, int $flags=0)
 
 setMtimeName (string $name, int $timestamp, int $flags=0)
 
 getCommentIndex (int $index, int $flags=0)
 
 getCommentName (string $name, int $flags=0)
 
 deleteIndex (int $index)
 
 deleteName (string $name)
 
 statName (string $name, int $flags=0)
 
 statIndex (int $index, int $flags=0)
 
 locateName (string $name, int $flags=0)
 
 getNameIndex (int $index, int $flags=0)
 
 unchangeArchive ()
 
 unchangeAll ()
 
 unchangeIndex (int $index)
 
 unchangeName (string $name)
 
 extractTo (string $pathto, array|string|null $files=null)
 
 getFromName (string $name, int $len=0, int $flags=0)
 
 getFromIndex (int $index, int $len=0, int $flags=0)
 
 getStreamIndex (int $index, int $flags=0)
 
 getStreamName (string $name, int $flags=0)
 
 getStream (string $name)
 
 setExternalAttributesName (string $name, int $opsys, int $attr, int $flags=0)
 
 setExternalAttributesIndex (int $index, int $opsys, int $attr, int $flags=0)
 
 getExternalAttributesName (string $name, &$opsys, &$attr, int $flags=0)
 
 getExternalAttributesIndex (int $index, &$opsys, &$attr, int $flags=0)
 
 setCompressionName (string $name, int $method, int $compflags=0)
 
 setCompressionIndex (int $index, int $method, int $compflags=0)
 
 setEncryptionName (string $name, int $method, #[\SensitiveParameter] ?string $password=null)
 
 setEncryptionIndex (int $index, int $method, #[\SensitiveParameter] ?string $password=null)
 
 registerProgressCallback (float $rate, callable $callback)
 
 registerCancelCallback (callable $callback)
 

Static Public Member Functions

static isCompressionMethodSupported (int $method, bool $enc=true)
 
static isEncryptionMethodSupported (int $method, bool $enc=true)
 

Data Fields

const int CREATE = UNKNOWN
 
const int EXCL = UNKNOWN
 
const int CHECKCONS = UNKNOWN
 
const int OVERWRITE = UNKNOWN
 
const int RDONLY = UNKNOWN
 
const int FL_NOCASE = UNKNOWN
 
const int FL_NODIR = UNKNOWN
 
const int FL_COMPRESSED = UNKNOWN
 
const int FL_UNCHANGED = UNKNOWN
 
const int FL_RECOMPRESS = UNKNOWN
 
const int FL_ENCRYPTED = UNKNOWN
 
const int FL_OVERWRITE = UNKNOWN
 
const int FL_LOCAL = UNKNOWN
 
const int FL_CENTRAL = UNKNOWN
 
const int FL_ENC_GUESS = UNKNOWN
 
const int FL_ENC_RAW = UNKNOWN
 
const int FL_ENC_STRICT = UNKNOWN
 
const int FL_ENC_UTF_8 = UNKNOWN
 
const int FL_ENC_CP437 = UNKNOWN
 
const int FL_OPEN_FILE_NOW = UNKNOWN
 
const int CM_DEFAULT = UNKNOWN
 
const int CM_STORE = UNKNOWN
 
const int CM_SHRINK = UNKNOWN
 
const int CM_REDUCE_1 = UNKNOWN
 
const int CM_REDUCE_2 = UNKNOWN
 
const int CM_REDUCE_3 = UNKNOWN
 
const int CM_REDUCE_4 = UNKNOWN
 
const int CM_IMPLODE = UNKNOWN
 
const int CM_DEFLATE = UNKNOWN
 
const int CM_DEFLATE64 = UNKNOWN
 
const int CM_PKWARE_IMPLODE = UNKNOWN
 
const int CM_BZIP2 = UNKNOWN
 
const int CM_LZMA = UNKNOWN
 
const int CM_LZMA2 = UNKNOWN
 
const int CM_ZSTD = UNKNOWN
 
const int CM_XZ = UNKNOWN
 
const int CM_TERSE = UNKNOWN
 
const int CM_LZ77 = UNKNOWN
 
const int CM_WAVPACK = UNKNOWN
 
const int CM_PPMD = UNKNOWN
 
const int ER_OK = UNKNOWN
 
const int ER_MULTIDISK = UNKNOWN
 
const int ER_RENAME = UNKNOWN
 
const int ER_CLOSE = UNKNOWN
 
const int ER_SEEK = UNKNOWN
 
const int ER_READ = UNKNOWN
 
const int ER_WRITE = UNKNOWN
 
const int ER_CRC = UNKNOWN
 
const int ER_ZIPCLOSED = UNKNOWN
 
const int ER_NOENT = UNKNOWN
 
const int ER_EXISTS = UNKNOWN
 
const int ER_OPEN = UNKNOWN
 
const int ER_TMPOPEN = UNKNOWN
 
const int ER_ZLIB = UNKNOWN
 
const int ER_MEMORY = UNKNOWN
 
const int ER_CHANGED = UNKNOWN
 
const int ER_COMPNOTSUPP = UNKNOWN
 
const int ER_EOF = UNKNOWN
 
const int ER_INVAL = UNKNOWN
 
const int ER_NOZIP = UNKNOWN
 
const int ER_INTERNAL = UNKNOWN
 
const int ER_INCONS = UNKNOWN
 
const int ER_REMOVE = UNKNOWN
 
const int ER_DELETED = UNKNOWN
 
const int ER_ENCRNOTSUPP = UNKNOWN
 
const int ER_RDONLY = UNKNOWN
 
const int ER_NOPASSWD = UNKNOWN
 
const int ER_WRONGPASSWD = UNKNOWN
 
const int ER_OPNOTSUPP = UNKNOWN
 
const int ER_INUSE = UNKNOWN
 
const int ER_TELL = UNKNOWN
 
const int ER_COMPRESSED_DATA = UNKNOWN
 
const int ER_CANCELLED = UNKNOWN
 
const int ER_DATA_LENGTH = UNKNOWN
 
const int ER_NOT_ALLOWED = UNKNOWN
 
const int ER_TRUNCATED_ZIP = UNKNOWN
 
const int AFL_RDONLY = UNKNOWN
 
const int AFL_IS_TORRENTZIP = UNKNOWN
 
const int AFL_WANT_TORRENTZIP = UNKNOWN
 
const int AFL_CREATE_OR_KEEP_FILE_FOR_EMPTY_ARCHIVE = UNKNOWN
 
const int OPSYS_DOS = UNKNOWN
 
const int OPSYS_AMIGA = UNKNOWN
 
const int OPSYS_OPENVMS = UNKNOWN
 
const int OPSYS_UNIX = UNKNOWN
 
const int OPSYS_VM_CMS = UNKNOWN
 
const int OPSYS_ATARI_ST = UNKNOWN
 
const int OPSYS_OS_2 = UNKNOWN
 
const int OPSYS_MACINTOSH = UNKNOWN
 
const int OPSYS_Z_SYSTEM = UNKNOWN
 
const int OPSYS_CPM = UNKNOWN
 
const int OPSYS_WINDOWS_NTFS = UNKNOWN
 
const int OPSYS_MVS = UNKNOWN
 
const int OPSYS_VSE = UNKNOWN
 
const int OPSYS_ACORN_RISC = UNKNOWN
 
const int OPSYS_VFAT = UNKNOWN
 
const int OPSYS_ALTERNATE_MVS = UNKNOWN
 
const int OPSYS_BEOS = UNKNOWN
 
const int OPSYS_TANDEM = UNKNOWN
 
const int OPSYS_OS_400 = UNKNOWN
 
const int OPSYS_OS_X = UNKNOWN
 
const int OPSYS_DEFAULT = UNKNOWN
 
const int EM_NONE = UNKNOWN
 
const int EM_TRAD_PKWARE = UNKNOWN
 
const int EM_AES_128 = UNKNOWN
 
const int EM_AES_192 = UNKNOWN
 
const int EM_AES_256 = UNKNOWN
 
const int EM_UNKNOWN = UNKNOWN
 
const string LIBZIP_VERSION = UNKNOWN
 
const int LENGTH_TO_END = UNKNOWN
 
const int LENGTH_UNCHECKED = UNKNOWN
 
int $lastId
 
int $status
 
int $statusSys
 
int $numFiles
 
string $filename
 
string $comment
 

Detailed Description

Definition at line 67 of file php_zip.stub.php.

Member Function Documentation

◆ addEmptyDir()

ZipArchive::addEmptyDir ( string $dirname,
int $flags = 0 )

@tentative-return-type

Definition at line 668 of file php_zip.stub.php.

◆ addFile()

ZipArchive::addFile ( string $filepath,
string $entryname = "",
int $start = 0,
int $length = ZipArchive::LENGTH_TO_END,
int $flags = ZipArchive::FL_OVERWRITE )

@tentative-return-type

Definition at line 674 of file php_zip.stub.php.

◆ addFromString()

ZipArchive::addFromString ( string $name,
string $content,
int $flags = ZipArchive::FL_OVERWRITE )

@tentative-return-type

Definition at line 671 of file php_zip.stub.php.

◆ addGlob()

ZipArchive::addGlob ( string $pattern,
int $flags = 0,
array $options = [] )

@tentative-return-type

Definition at line 680 of file php_zip.stub.php.

◆ addPattern()

ZipArchive::addPattern ( string $pattern,
string $path = ".",
array $options = [] )

@tentative-return-type

Definition at line 683 of file php_zip.stub.php.

◆ clearError()

ZipArchive::clearError ( )

Definition at line 665 of file php_zip.stub.php.

◆ close()

ZipArchive::close ( )

@tentative-return-type

Definition at line 657 of file php_zip.stub.php.

◆ count()

ZipArchive::count ( )

@tentative-return-type

Implements Countable.

Definition at line 660 of file php_zip.stub.php.

◆ deleteIndex()

ZipArchive::deleteIndex ( int $index)

@tentative-return-type

Definition at line 722 of file php_zip.stub.php.

◆ deleteName()

ZipArchive::deleteName ( string $name)

@tentative-return-type

Definition at line 725 of file php_zip.stub.php.

◆ extractTo()

ZipArchive::extractTo ( string $pathto,
array|string|null $files = null )

@tentative-return-type

Definition at line 752 of file php_zip.stub.php.

◆ getArchiveComment()

ZipArchive::getArchiveComment ( int $flags = 0)

@tentative-return-type

Definition at line 695 of file php_zip.stub.php.

◆ getArchiveFlag()

ZipArchive::getArchiveFlag ( int $flag,
int $flags = 0 )

Definition at line 699 of file php_zip.stub.php.

◆ getCommentIndex()

ZipArchive::getCommentIndex ( int $index,
int $flags = 0 )

@tentative-return-type

Definition at line 716 of file php_zip.stub.php.

◆ getCommentName()

ZipArchive::getCommentName ( string $name,
int $flags = 0 )

@tentative-return-type

Definition at line 719 of file php_zip.stub.php.

◆ getExternalAttributesIndex()

ZipArchive::getExternalAttributesIndex ( int $index,
& $opsys,
& $attr,
int $flags = 0 )
Parameters
int$opsys
int$attr@tentative-return-type

Definition at line 788 of file php_zip.stub.php.

◆ getExternalAttributesName()

ZipArchive::getExternalAttributesName ( string $name,
& $opsys,
& $attr,
int $flags = 0 )
Parameters
int$opsys
int$attr@tentative-return-type

Definition at line 781 of file php_zip.stub.php.

◆ getFromIndex()

ZipArchive::getFromIndex ( int $index,
int $len = 0,
int $flags = 0 )

@tentative-return-type

Definition at line 758 of file php_zip.stub.php.

◆ getFromName()

ZipArchive::getFromName ( string $name,
int $len = 0,
int $flags = 0 )

@tentative-return-type

Definition at line 755 of file php_zip.stub.php.

◆ getNameIndex()

ZipArchive::getNameIndex ( int $index,
int $flags = 0 )

@tentative-return-type

Definition at line 737 of file php_zip.stub.php.

◆ getStatusString()

ZipArchive::getStatusString ( )

@tentative-return-type

Definition at line 663 of file php_zip.stub.php.

◆ getStream()

ZipArchive::getStream ( string $name)
Returns
resource|false

Definition at line 767 of file php_zip.stub.php.

◆ getStreamIndex()

ZipArchive::getStreamIndex ( int $index,
int $flags = 0 )
Returns
resource|false

Definition at line 761 of file php_zip.stub.php.

◆ getStreamName()

ZipArchive::getStreamName ( string $name,
int $flags = 0 )
Returns
resource|false

Definition at line 764 of file php_zip.stub.php.

◆ isCompressionMethodSupported()

static ZipArchive::isCompressionMethodSupported ( int $method,
bool $enc = true )
static

Definition at line 820 of file php_zip.stub.php.

◆ isEncryptionMethodSupported()

static ZipArchive::isEncryptionMethodSupported ( int $method,
bool $enc = true )
static

Definition at line 822 of file php_zip.stub.php.

◆ locateName()

ZipArchive::locateName ( string $name,
int $flags = 0 )

@tentative-return-type

Definition at line 734 of file php_zip.stub.php.

◆ open()

ZipArchive::open ( string $filename,
int $flags = 0 )

@tentative-return-type

Definition at line 649 of file php_zip.stub.php.

◆ registerCancelCallback()

ZipArchive::registerCancelCallback ( callable $callback)

@tentative-return-type

Definition at line 816 of file php_zip.stub.php.

◆ registerProgressCallback()

ZipArchive::registerProgressCallback ( float $rate,
callable $callback )

@tentative-return-type

Definition at line 811 of file php_zip.stub.php.

◆ renameIndex()

ZipArchive::renameIndex ( int $index,
string $new_name )

@tentative-return-type

Definition at line 686 of file php_zip.stub.php.

◆ renameName()

ZipArchive::renameName ( string $name,
string $new_name )

@tentative-return-type

Definition at line 689 of file php_zip.stub.php.

◆ replaceFile()

ZipArchive::replaceFile ( string $filepath,
int $index,
int $start = 0,
int $length = ZipArchive::LENGTH_TO_END,
int $flags = 0 )

@tentative-return-type

Definition at line 677 of file php_zip.stub.php.

◆ setArchiveComment()

ZipArchive::setArchiveComment ( string $comment)

@tentative-return-type

Definition at line 692 of file php_zip.stub.php.

◆ setArchiveFlag()

ZipArchive::setArchiveFlag ( int $flag,
int $value )

Definition at line 697 of file php_zip.stub.php.

◆ setCommentIndex()

ZipArchive::setCommentIndex ( int $index,
string $comment )

@tentative-return-type

Definition at line 702 of file php_zip.stub.php.

◆ setCommentName()

ZipArchive::setCommentName ( string $name,
string $comment )

@tentative-return-type

Definition at line 705 of file php_zip.stub.php.

◆ setCompressionIndex()

ZipArchive::setCompressionIndex ( int $index,
int $method,
int $compflags = 0 )

@tentative-return-type

Definition at line 795 of file php_zip.stub.php.

◆ setCompressionName()

ZipArchive::setCompressionName ( string $name,
int $method,
int $compflags = 0 )

@tentative-return-type

Definition at line 792 of file php_zip.stub.php.

◆ setEncryptionIndex()

ZipArchive::setEncryptionIndex ( int $index,
int $method,
# ?string $password[\SensitiveParameter] = null )

@tentative-return-type

Definition at line 806 of file php_zip.stub.php.

◆ setEncryptionName()

ZipArchive::setEncryptionName ( string $name,
int $method,
# ?string $password[\SensitiveParameter] = null )

@tentative-return-type

Definition at line 801 of file php_zip.stub.php.

◆ setExternalAttributesIndex()

ZipArchive::setExternalAttributesIndex ( int $index,
int $opsys,
int $attr,
int $flags = 0 )

@tentative-return-type

Definition at line 774 of file php_zip.stub.php.

◆ setExternalAttributesName()

ZipArchive::setExternalAttributesName ( string $name,
int $opsys,
int $attr,
int $flags = 0 )

@tentative-return-type

Definition at line 771 of file php_zip.stub.php.

◆ setMtimeIndex()

ZipArchive::setMtimeIndex ( int $index,
int $timestamp,
int $flags = 0 )

@tentative-return-type

Definition at line 709 of file php_zip.stub.php.

◆ setMtimeName()

ZipArchive::setMtimeName ( string $name,
int $timestamp,
int $flags = 0 )

@tentative-return-type

Definition at line 712 of file php_zip.stub.php.

◆ setPassword()

ZipArchive::setPassword ( # string $password[\SensitiveParameter])

@tentative-return-type

Definition at line 654 of file php_zip.stub.php.

◆ statIndex()

ZipArchive::statIndex ( int $index,
int $flags = 0 )

@tentative-return-type

Definition at line 731 of file php_zip.stub.php.

◆ statName()

ZipArchive::statName ( string $name,
int $flags = 0 )

@tentative-return-type

Definition at line 728 of file php_zip.stub.php.

◆ unchangeAll()

ZipArchive::unchangeAll ( )

@tentative-return-type

Definition at line 743 of file php_zip.stub.php.

◆ unchangeArchive()

ZipArchive::unchangeArchive ( )

@tentative-return-type

Definition at line 740 of file php_zip.stub.php.

◆ unchangeIndex()

ZipArchive::unchangeIndex ( int $index)

@tentative-return-type

Definition at line 746 of file php_zip.stub.php.

◆ unchangeName()

ZipArchive::unchangeName ( string $name)

@tentative-return-type

Definition at line 749 of file php_zip.stub.php.

Field Documentation

◆ $comment

string ZipArchive::$comment

@readonly

Definition at line 646 of file php_zip.stub.php.

◆ $filename

string ZipArchive::$filename

@readonly

Definition at line 644 of file php_zip.stub.php.

◆ $lastId

int ZipArchive::$lastId

@readonly

Definition at line 636 of file php_zip.stub.php.

◆ $numFiles

int ZipArchive::$numFiles

@readonly

Definition at line 642 of file php_zip.stub.php.

◆ $status

int ZipArchive::$status

@readonly

Definition at line 638 of file php_zip.stub.php.

◆ $statusSys

int ZipArchive::$statusSys

@readonly

Definition at line 640 of file php_zip.stub.php.

◆ AFL_CREATE_OR_KEEP_FILE_FOR_EMPTY_ARCHIVE

const int ZipArchive::AFL_CREATE_OR_KEEP_FILE_FOR_EMPTY_ARCHIVE = UNKNOWN

don't remove file if archive is empty @cvalue ZIP_AFL_CREATE_OR_KEEP_FILE_FOR_EMPTY_ARCHIVE

Definition at line 480 of file php_zip.stub.php.

◆ AFL_IS_TORRENTZIP

const int ZipArchive::AFL_IS_TORRENTZIP = UNKNOWN

current archive is torrentzipped @cvalue ZIP_AFL_IS_TORRENTZIP

Definition at line 466 of file php_zip.stub.php.

◆ AFL_RDONLY

const int ZipArchive::AFL_RDONLY = UNKNOWN

read only – cannot be cleared @cvalue ZIP_AFL_RDONLY

Definition at line 459 of file php_zip.stub.php.

◆ AFL_WANT_TORRENTZIP

const int ZipArchive::AFL_WANT_TORRENTZIP = UNKNOWN

write archive in torrentzip format @cvalue ZIP_AFL_WANT_TORRENTZIP

Definition at line 473 of file php_zip.stub.php.

◆ CHECKCONS

const int ZipArchive::CHECKCONS = UNKNOWN

@cvalue ZIP_CHECKCONS

Definition at line 80 of file php_zip.stub.php.

◆ CM_BZIP2

const int ZipArchive::CM_BZIP2 = UNKNOWN

@cvalue ZIP_CM_BZIP2

Definition at line 209 of file php_zip.stub.php.

◆ CM_DEFAULT

const int ZipArchive::CM_DEFAULT = UNKNOWN

@cvalue ZIP_CM_DEFAULT

Definition at line 165 of file php_zip.stub.php.

◆ CM_DEFLATE

const int ZipArchive::CM_DEFLATE = UNKNOWN

@cvalue ZIP_CM_DEFLATE

Definition at line 197 of file php_zip.stub.php.

◆ CM_DEFLATE64

const int ZipArchive::CM_DEFLATE64 = UNKNOWN

@cvalue ZIP_CM_DEFLATE64

Definition at line 201 of file php_zip.stub.php.

◆ CM_IMPLODE

const int ZipArchive::CM_IMPLODE = UNKNOWN

@cvalue ZIP_CM_IMPLODE

Definition at line 193 of file php_zip.stub.php.

◆ CM_LZ77

const int ZipArchive::CM_LZ77 = UNKNOWN

@cvalue ZIP_CM_LZ77

Definition at line 240 of file php_zip.stub.php.

◆ CM_LZMA

const int ZipArchive::CM_LZMA = UNKNOWN

@cvalue ZIP_CM_LZMA

Definition at line 213 of file php_zip.stub.php.

◆ CM_LZMA2

const int ZipArchive::CM_LZMA2 = UNKNOWN

@cvalue ZIP_CM_LZMA2

Definition at line 218 of file php_zip.stub.php.

◆ CM_PKWARE_IMPLODE

const int ZipArchive::CM_PKWARE_IMPLODE = UNKNOWN

@cvalue ZIP_CM_PKWARE_IMPLODE

Definition at line 205 of file php_zip.stub.php.

◆ CM_PPMD

const int ZipArchive::CM_PPMD = UNKNOWN

@cvalue ZIP_CM_PPMD

Definition at line 248 of file php_zip.stub.php.

◆ CM_REDUCE_1

const int ZipArchive::CM_REDUCE_1 = UNKNOWN

@cvalue ZIP_CM_REDUCE_1

Definition at line 177 of file php_zip.stub.php.

◆ CM_REDUCE_2

const int ZipArchive::CM_REDUCE_2 = UNKNOWN

@cvalue ZIP_CM_REDUCE_2

Definition at line 181 of file php_zip.stub.php.

◆ CM_REDUCE_3

const int ZipArchive::CM_REDUCE_3 = UNKNOWN

@cvalue ZIP_CM_REDUCE_3

Definition at line 185 of file php_zip.stub.php.

◆ CM_REDUCE_4

const int ZipArchive::CM_REDUCE_4 = UNKNOWN

@cvalue ZIP_CM_REDUCE_4

Definition at line 189 of file php_zip.stub.php.

◆ CM_SHRINK

const int ZipArchive::CM_SHRINK = UNKNOWN

@cvalue ZIP_CM_SHRINK

Definition at line 173 of file php_zip.stub.php.

◆ CM_STORE

const int ZipArchive::CM_STORE = UNKNOWN

@cvalue ZIP_CM_STORE

Definition at line 169 of file php_zip.stub.php.

◆ CM_TERSE

const int ZipArchive::CM_TERSE = UNKNOWN

@cvalue ZIP_CM_TERSE

Definition at line 236 of file php_zip.stub.php.

◆ CM_WAVPACK

const int ZipArchive::CM_WAVPACK = UNKNOWN

@cvalue ZIP_CM_WAVPACK

Definition at line 244 of file php_zip.stub.php.

◆ CM_XZ

const int ZipArchive::CM_XZ = UNKNOWN

@cvalue ZIP_CM_XZ

Definition at line 231 of file php_zip.stub.php.

◆ CM_ZSTD

const int ZipArchive::CM_ZSTD = UNKNOWN

@cvalue ZIP_CM_ZSTD

Definition at line 225 of file php_zip.stub.php.

◆ CREATE

const int ZipArchive::CREATE = UNKNOWN

@cvalue ZIP_CREATE

Definition at line 72 of file php_zip.stub.php.

◆ EM_AES_128

const int ZipArchive::EM_AES_128 = UNKNOWN

@cvalue ZIP_EM_AES_128

Definition at line 603 of file php_zip.stub.php.

◆ EM_AES_192

const int ZipArchive::EM_AES_192 = UNKNOWN

@cvalue ZIP_EM_AES_192

Definition at line 607 of file php_zip.stub.php.

◆ EM_AES_256

const int ZipArchive::EM_AES_256 = UNKNOWN

@cvalue ZIP_EM_AES_256

Definition at line 611 of file php_zip.stub.php.

◆ EM_NONE

const int ZipArchive::EM_NONE = UNKNOWN

@cvalue ZIP_EM_NONE

Definition at line 594 of file php_zip.stub.php.

◆ EM_TRAD_PKWARE

const int ZipArchive::EM_TRAD_PKWARE = UNKNOWN

@cvalue ZIP_EM_TRAD_PKWARE

Definition at line 598 of file php_zip.stub.php.

◆ EM_UNKNOWN

const int ZipArchive::EM_UNKNOWN = UNKNOWN

@cvalue ZIP_EM_UNKNOWN

Definition at line 616 of file php_zip.stub.php.

◆ ER_CANCELLED

const int ZipArchive::ER_CANCELLED = UNKNOWN

N Operation cancelled @cvalue ZIP_ER_CANCELLED

Definition at line 429 of file php_zip.stub.php.

◆ ER_CHANGED

const int ZipArchive::ER_CHANGED = UNKNOWN

N Entry has been changed @cvalue ZIP_ER_CHANGED

Definition at line 331 of file php_zip.stub.php.

◆ ER_CLOSE

const int ZipArchive::ER_CLOSE = UNKNOWN

S Closing zip archive failed @cvalue ZIP_ER_CLOSE

Definition at line 271 of file php_zip.stub.php.

◆ ER_COMPNOTSUPP

const int ZipArchive::ER_COMPNOTSUPP = UNKNOWN

N Compression method not supported @cvalue ZIP_ER_COMPNOTSUPP

Definition at line 336 of file php_zip.stub.php.

◆ ER_COMPRESSED_DATA

const int ZipArchive::ER_COMPRESSED_DATA = UNKNOWN

N Compressed data invalid @cvalue ZIP_ER_COMPRESSED_DATA

Definition at line 422 of file php_zip.stub.php.

◆ ER_CRC

const int ZipArchive::ER_CRC = UNKNOWN

N CRC error @cvalue ZIP_ER_CRC

Definition at line 291 of file php_zip.stub.php.

◆ ER_DATA_LENGTH

const int ZipArchive::ER_DATA_LENGTH = UNKNOWN

N Unexpected length of data @cvalue ZIP_ER_DATA_LENGTH

Definition at line 438 of file php_zip.stub.php.

◆ ER_DELETED

const int ZipArchive::ER_DELETED = UNKNOWN

N Entry has been deleted @cvalue ZIP_ER_DELETED

Definition at line 371 of file php_zip.stub.php.

◆ ER_ENCRNOTSUPP

const int ZipArchive::ER_ENCRNOTSUPP = UNKNOWN

N Encryption method not supported @cvalue ZIP_ER_ENCRNOTSUPP

Definition at line 376 of file php_zip.stub.php.

◆ ER_EOF

const int ZipArchive::ER_EOF = UNKNOWN

N Premature EOF @cvalue ZIP_ER_EOF

Definition at line 341 of file php_zip.stub.php.

◆ ER_EXISTS

const int ZipArchive::ER_EXISTS = UNKNOWN

N File already exists @cvalue ZIP_ER_EXISTS

Definition at line 306 of file php_zip.stub.php.

◆ ER_INCONS

const int ZipArchive::ER_INCONS = UNKNOWN

N Zip archive inconsistent @cvalue ZIP_ER_INCONS

Definition at line 361 of file php_zip.stub.php.

◆ ER_INTERNAL

const int ZipArchive::ER_INTERNAL = UNKNOWN

N Internal error @cvalue ZIP_ER_INTERNAL

Definition at line 356 of file php_zip.stub.php.

◆ ER_INUSE

const int ZipArchive::ER_INUSE = UNKNOWN

N Resource still in use @cvalue ZIP_ER_INUSE

Definition at line 406 of file php_zip.stub.php.

◆ ER_INVAL

const int ZipArchive::ER_INVAL = UNKNOWN

N Invalid argument @cvalue ZIP_ER_INVAL

Definition at line 346 of file php_zip.stub.php.

◆ ER_MEMORY

const int ZipArchive::ER_MEMORY = UNKNOWN

N Malloc failure @cvalue ZIP_ER_MEMORY

Definition at line 326 of file php_zip.stub.php.

◆ ER_MULTIDISK

const int ZipArchive::ER_MULTIDISK = UNKNOWN

N Multi-disk zip archives not supported @cvalue ZIP_ER_MULTIDISK

Definition at line 261 of file php_zip.stub.php.

◆ ER_NOENT

const int ZipArchive::ER_NOENT = UNKNOWN

N No such file @cvalue ZIP_ER_NOENT

Definition at line 301 of file php_zip.stub.php.

◆ ER_NOPASSWD

const int ZipArchive::ER_NOPASSWD = UNKNOWN

N Entry has been deleted @cvalue ZIP_ER_NOPASSWD

Definition at line 386 of file php_zip.stub.php.

◆ ER_NOT_ALLOWED

const int ZipArchive::ER_NOT_ALLOWED = UNKNOWN

Not allowed in torrentzip @cvalue ZIP_ER_NOT_ALLOWED

Definition at line 445 of file php_zip.stub.php.

◆ ER_NOZIP

const int ZipArchive::ER_NOZIP = UNKNOWN

N Not a zip archive @cvalue ZIP_ER_NOZIP

Definition at line 351 of file php_zip.stub.php.

◆ ER_OK

const int ZipArchive::ER_OK = UNKNOWN

N No error @cvalue ZIP_ER_OK

Definition at line 256 of file php_zip.stub.php.

◆ ER_OPEN

const int ZipArchive::ER_OPEN = UNKNOWN

S Can't open file @cvalue ZIP_ER_OPEN

Definition at line 311 of file php_zip.stub.php.

◆ ER_OPNOTSUPP

const int ZipArchive::ER_OPNOTSUPP = UNKNOWN

N Operation not supported @cvalue ZIP_ER_OPNOTSUPP

Definition at line 399 of file php_zip.stub.php.

◆ ER_RDONLY

const int ZipArchive::ER_RDONLY = UNKNOWN

N Read-only archive @cvalue ZIP_ER_RDONLY

Definition at line 381 of file php_zip.stub.php.

◆ ER_READ

const int ZipArchive::ER_READ = UNKNOWN

S Read error @cvalue ZIP_ER_READ

Definition at line 281 of file php_zip.stub.php.

◆ ER_REMOVE

const int ZipArchive::ER_REMOVE = UNKNOWN

S Can't remove file @cvalue ZIP_ER_REMOVE

Definition at line 366 of file php_zip.stub.php.

◆ ER_RENAME

const int ZipArchive::ER_RENAME = UNKNOWN

S Renaming temporary file failed @cvalue ZIP_ER_RENAME

Definition at line 266 of file php_zip.stub.php.

◆ ER_SEEK

const int ZipArchive::ER_SEEK = UNKNOWN

S Seek error @cvalue ZIP_ER_SEEK

Definition at line 276 of file php_zip.stub.php.

◆ ER_TELL

const int ZipArchive::ER_TELL = UNKNOWN

S Tell error @cvalue ZIP_ER_TELL

Definition at line 413 of file php_zip.stub.php.

◆ ER_TMPOPEN

const int ZipArchive::ER_TMPOPEN = UNKNOWN

S Failure to create temporary file @cvalue ZIP_ER_TMPOPEN

Definition at line 316 of file php_zip.stub.php.

◆ ER_TRUNCATED_ZIP

const int ZipArchive::ER_TRUNCATED_ZIP = UNKNOWN

Possibly truncated or corrupted zip archive @cvalue ZIP_ER_TRUNCATED_ZIP

Definition at line 452 of file php_zip.stub.php.

◆ ER_WRITE

const int ZipArchive::ER_WRITE = UNKNOWN

S Write error @cvalue ZIP_ER_WRITE

Definition at line 286 of file php_zip.stub.php.

◆ ER_WRONGPASSWD

const int ZipArchive::ER_WRONGPASSWD = UNKNOWN

N Wrong password provided @cvalue ZIP_ER_WRONGPASSWD

Definition at line 391 of file php_zip.stub.php.

◆ ER_ZIPCLOSED

const int ZipArchive::ER_ZIPCLOSED = UNKNOWN

N Containing zip archive was closed @cvalue ZIP_ER_ZIPCLOSED

Definition at line 296 of file php_zip.stub.php.

◆ ER_ZLIB

const int ZipArchive::ER_ZLIB = UNKNOWN

Z Zlib error @cvalue ZIP_ER_ZLIB

Definition at line 321 of file php_zip.stub.php.

◆ EXCL

const int ZipArchive::EXCL = UNKNOWN

@cvalue ZIP_EXCL

Definition at line 76 of file php_zip.stub.php.

◆ FL_CENTRAL

const int ZipArchive::FL_CENTRAL = UNKNOWN

@cvalue ZIP_FL_CENTRAL

Definition at line 131 of file php_zip.stub.php.

◆ FL_COMPRESSED

const int ZipArchive::FL_COMPRESSED = UNKNOWN

@cvalue ZIP_FL_COMPRESSED

Definition at line 103 of file php_zip.stub.php.

◆ FL_ENC_CP437

const int ZipArchive::FL_ENC_CP437 = UNKNOWN

@cvalue ZIP_FL_ENC_CP437

Definition at line 154 of file php_zip.stub.php.

◆ FL_ENC_GUESS

const int ZipArchive::FL_ENC_GUESS = UNKNOWN

@cvalue ZIP_FL_ENC_GUESS

Definition at line 138 of file php_zip.stub.php.

◆ FL_ENC_RAW

const int ZipArchive::FL_ENC_RAW = UNKNOWN

@cvalue ZIP_FL_ENC_RAW

Definition at line 142 of file php_zip.stub.php.

◆ FL_ENC_STRICT

const int ZipArchive::FL_ENC_STRICT = UNKNOWN

@cvalue ZIP_FL_ENC_STRICT

Definition at line 146 of file php_zip.stub.php.

◆ FL_ENC_UTF_8

const int ZipArchive::FL_ENC_UTF_8 = UNKNOWN

@cvalue ZIP_FL_ENC_UTF_8

Definition at line 150 of file php_zip.stub.php.

◆ FL_ENCRYPTED

const int ZipArchive::FL_ENCRYPTED = UNKNOWN

@cvalue ZIP_FL_ENCRYPTED

Definition at line 119 of file php_zip.stub.php.

◆ FL_LOCAL

const int ZipArchive::FL_LOCAL = UNKNOWN

@cvalue ZIP_FL_LOCAL

Definition at line 127 of file php_zip.stub.php.

◆ FL_NOCASE

const int ZipArchive::FL_NOCASE = UNKNOWN

@cvalue ZIP_FL_NOCASE

Definition at line 95 of file php_zip.stub.php.

◆ FL_NODIR

const int ZipArchive::FL_NODIR = UNKNOWN

@cvalue ZIP_FL_NODIR

Definition at line 99 of file php_zip.stub.php.

◆ FL_OPEN_FILE_NOW

const int ZipArchive::FL_OPEN_FILE_NOW = UNKNOWN

Additionnal flags not from libzip @cvalue ZIP_FL_OPEN_FILE_NOW

Definition at line 160 of file php_zip.stub.php.

◆ FL_OVERWRITE

const int ZipArchive::FL_OVERWRITE = UNKNOWN

@cvalue ZIP_FL_OVERWRITE

Definition at line 123 of file php_zip.stub.php.

◆ FL_RECOMPRESS

const int ZipArchive::FL_RECOMPRESS = UNKNOWN

@cvalue ZIP_FL_RECOMPRESS

Definition at line 114 of file php_zip.stub.php.

◆ FL_UNCHANGED

const int ZipArchive::FL_UNCHANGED = UNKNOWN

@cvalue ZIP_FL_UNCHANGED

Definition at line 107 of file php_zip.stub.php.

◆ LENGTH_TO_END

const int ZipArchive::LENGTH_TO_END = UNKNOWN

@cvalue ZIP_LENGTH_TO_END

Definition at line 626 of file php_zip.stub.php.

◆ LENGTH_UNCHECKED

const int ZipArchive::LENGTH_UNCHECKED = UNKNOWN

@cvalue ZIP_LENGTH_UNCHECKED

Definition at line 632 of file php_zip.stub.php.

◆ LIBZIP_VERSION

const string ZipArchive::LIBZIP_VERSION = UNKNOWN

@cvalue LIBZIP_VERSION_STR

Definition at line 621 of file php_zip.stub.php.

◆ OPSYS_ACORN_RISC

const int ZipArchive::OPSYS_ACORN_RISC = UNKNOWN

@cvalue ZIP_OPSYS_ACORN_RISC ziparchive.constants.opsys

Definition at line 553 of file php_zip.stub.php.

◆ OPSYS_ALTERNATE_MVS

const int ZipArchive::OPSYS_ALTERNATE_MVS = UNKNOWN

@cvalue ZIP_OPSYS_ALTERNATE_MVS ziparchive.constants.opsys

Definition at line 563 of file php_zip.stub.php.

◆ OPSYS_AMIGA

const int ZipArchive::OPSYS_AMIGA = UNKNOWN

@cvalue ZIP_OPSYS_AMIGA ziparchive.constants.opsys

Definition at line 493 of file php_zip.stub.php.

◆ OPSYS_ATARI_ST

const int ZipArchive::OPSYS_ATARI_ST = UNKNOWN

@cvalue ZIP_OPSYS_ATARI_ST ziparchive.constants.opsys

Definition at line 513 of file php_zip.stub.php.

◆ OPSYS_BEOS

const int ZipArchive::OPSYS_BEOS = UNKNOWN

@cvalue ZIP_OPSYS_BEOS ziparchive.constants.opsys

Definition at line 568 of file php_zip.stub.php.

◆ OPSYS_CPM

const int ZipArchive::OPSYS_CPM = UNKNOWN

@cvalue ZIP_OPSYS_CPM ziparchive.constants.opsys

Definition at line 533 of file php_zip.stub.php.

◆ OPSYS_DEFAULT

const int ZipArchive::OPSYS_DEFAULT = UNKNOWN

@cvalue ZIP_OPSYS_DEFAULT ziparchive.constants.opsys

Definition at line 588 of file php_zip.stub.php.

◆ OPSYS_DOS

const int ZipArchive::OPSYS_DOS = UNKNOWN

@cvalue ZIP_OPSYS_DOS ziparchive.constants.opsys

Definition at line 488 of file php_zip.stub.php.

◆ OPSYS_MACINTOSH

const int ZipArchive::OPSYS_MACINTOSH = UNKNOWN

@cvalue ZIP_OPSYS_MACINTOSH ziparchive.constants.opsys

Definition at line 523 of file php_zip.stub.php.

◆ OPSYS_MVS

const int ZipArchive::OPSYS_MVS = UNKNOWN

@cvalue ZIP_OPSYS_MVS ziparchive.constants.opsys

Definition at line 543 of file php_zip.stub.php.

◆ OPSYS_OPENVMS

const int ZipArchive::OPSYS_OPENVMS = UNKNOWN

@cvalue ZIP_OPSYS_OPENVMS ziparchive.constants.opsys

Definition at line 498 of file php_zip.stub.php.

◆ OPSYS_OS_2

const int ZipArchive::OPSYS_OS_2 = UNKNOWN

@cvalue ZIP_OPSYS_OS_2 ziparchive.constants.opsys

Definition at line 518 of file php_zip.stub.php.

◆ OPSYS_OS_400

const int ZipArchive::OPSYS_OS_400 = UNKNOWN

@cvalue ZIP_OPSYS_OS_400 ziparchive.constants.opsys

Definition at line 578 of file php_zip.stub.php.

◆ OPSYS_OS_X

const int ZipArchive::OPSYS_OS_X = UNKNOWN

@cvalue ZIP_OPSYS_OS_X ziparchive.constants.opsys

Definition at line 583 of file php_zip.stub.php.

◆ OPSYS_TANDEM

const int ZipArchive::OPSYS_TANDEM = UNKNOWN

@cvalue ZIP_OPSYS_TANDEM ziparchive.constants.opsys

Definition at line 573 of file php_zip.stub.php.

◆ OPSYS_UNIX

const int ZipArchive::OPSYS_UNIX = UNKNOWN

@cvalue ZIP_OPSYS_UNIX ziparchive.constants.opsys

Definition at line 503 of file php_zip.stub.php.

◆ OPSYS_VFAT

const int ZipArchive::OPSYS_VFAT = UNKNOWN

@cvalue ZIP_OPSYS_VFAT ziparchive.constants.opsys

Definition at line 558 of file php_zip.stub.php.

◆ OPSYS_VM_CMS

const int ZipArchive::OPSYS_VM_CMS = UNKNOWN

@cvalue ZIP_OPSYS_VM_CMS ziparchive.constants.opsys

Definition at line 508 of file php_zip.stub.php.

◆ OPSYS_VSE

const int ZipArchive::OPSYS_VSE = UNKNOWN

@cvalue ZIP_OPSYS_VSE ziparchive.constants.opsys

Definition at line 548 of file php_zip.stub.php.

◆ OPSYS_WINDOWS_NTFS

const int ZipArchive::OPSYS_WINDOWS_NTFS = UNKNOWN

@cvalue ZIP_OPSYS_WINDOWS_NTFS ziparchive.constants.opsys

Definition at line 538 of file php_zip.stub.php.

◆ OPSYS_Z_SYSTEM

const int ZipArchive::OPSYS_Z_SYSTEM = UNKNOWN

@cvalue ZIP_OPSYS_Z_SYSTEM ziparchive.constants.opsys

Definition at line 528 of file php_zip.stub.php.

◆ OVERWRITE

const int ZipArchive::OVERWRITE = UNKNOWN

@cvalue ZIP_OVERWRITE

Definition at line 84 of file php_zip.stub.php.

◆ RDONLY

const int ZipArchive::RDONLY = UNKNOWN

@cvalue ZIP_RDONLY

Definition at line 89 of file php_zip.stub.php.


The documentation for this class was generated from the following file: