The constants below are defined by this extension, and will only be available when the extension has either been compiled into PHP or dynamically loaded at runtime.
ZipArchive uses class constants. There are three types of constants : Flags (prefixed with FL_), errors (prefixed with ER_) and mode (no prefix).
ZipArchive::CREATE
(integer)
ZipArchive::OVERWRITE
(integer)
ZipArchive::EXCL
(integer)
ZipArchive::CHECKCONS
(integer)
ZipArchive::FL_NOCASE
(integer)
ZipArchive::FL_NODIR
(integer)
ZipArchive::FL_COMPRESSED
(integer)
ZipArchive::FL_UNCHANGED
(integer)
ZipArchive::CM_DEFAULT
(integer)
ZipArchive::CM_STORE
(integer)
ZipArchive::CM_SHRINK
(integer)
ZipArchive::CM_REDUCE_1
(integer)
ZipArchive::CM_REDUCE_2
(integer)
ZipArchive::CM_REDUCE_3
(integer)
ZipArchive::CM_REDUCE_4
(integer)
ZipArchive::CM_IMPLODE
(integer)
ZipArchive::CM_DEFLATE
(integer)
ZipArchive::CM_DEFLATE64
(integer)
ZipArchive::CM_PKWARE_IMPLODE
(integer)
ZipArchive::CM_BZIP2
(integer)
ZipArchive::ER_OK
(integer)
ZipArchive::ER_MULTIDISK
(integer)
ZipArchive::ER_RENAME
(integer)
ZipArchive::ER_CLOSE
(integer)
ZipArchive::ER_SEEK
(integer)
ZipArchive::ER_READ
(integer)
ZipArchive::ER_WRITE
(integer)
ZipArchive::ER_CRC
(integer)
ZipArchive::ER_ZIPCLOSED
(integer)
ZipArchive::ER_NOENT
(integer)
ZipArchive::ER_EXISTS
(integer)
ZipArchive::ER_OPEN
(integer)
ZipArchive::ER_TMPOPEN
(integer)
ZipArchive::ER_ZLIB
(integer)
ZipArchive::ER_MEMORY
(integer)
ZipArchive::ER_CHANGED
(string)
ZipArchive::ER_COMPNOTSUPP
(integer)
ZipArchive::ER_EOF
(integer)
ZipArchive::ER_INVAL
(integer)
ZipArchive::ER_NOZIP
(integer)
ZipArchive::ER_INTERNAL
(integer)
ZipArchive::ER_INCONS
(integer)
ZipArchive::ER_REMOVE
(integer)
ZipArchive::ER_DELETED
(integer)
ZipArchive::OPSYS_DOS
(integer)
ZipArchive::OPSYS_AMIGA
(integer)
ZipArchive::OPSYS_OPENVMS
(integer)
ZipArchive::OPSYS_UNIX
(integer)
ZipArchive::OPSYS_VM_CMS
(integer)
ZipArchive::OPSYS_ATARI_ST
(integer)
ZipArchive::OPSYS_OS_2
(integer)
ZipArchive::OPSYS_MACINTOSH
(integer)
ZipArchive::OPSYS_Z_SYSTEM
(integer)
ZipArchive::OPSYS_CPM
(integer)
ZipArchive::OPSYS_WINDOWS_NTFS
(integer)
ZipArchive::OPSYS_MVS
(integer)
ZipArchive::OPSYS_VSE
(integer)
ZipArchive::OPSYS_ACORN_RISC
(integer)
ZipArchive::OPSYS_VFAT
(integer)
ZipArchive::OPSYS_ALTERNATE_MVS
(integer)
ZipArchive::OPSYS_BEOS
(integer)
ZipArchive::OPSYS_TANDEM
(integer)
ZipArchive::OPSYS_OS_400
(integer)
ZipArchive::OPSYS_OS_X
(integer)
ZipArchive::OPSYS_DEFAULT
(integer)