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::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)