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)