Estas constantes están definidas por esta extensión y estarán disponibles sólo cuando la extensión haya sido compilada con PHP, o bien sea cargada dinámicamente en ejecución.
ZipArchive usa constantes de clase. Existen tres tipos de constantes: Flags (prefijadas con FL_), errores (prefijados con ER_) y modos (sin prefijo).
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::FL_ENC_GUESS
(integer)
ZipArchive::FL_ENC_RAW
(integer)
ZipArchive::FL_ENC_STRICT
(integer)
ZipArchive::FL_ENC_UTF_8
(integer)
ZipArchive::FL_ENC_CP437
(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::EM_NONE
(integer)
ZipArchive::EM_AES_128
(integer)
ZipArchive::EM_AES_192
(integer)
ZipArchive::EM_AES_256
(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)