As contantes abaixo são definidas por esta extensão e somente estarão disponíveis quando a extensão foi compilada com o PHP ou carregada dinamicamente durante a execução.
ZipArchive usa constantes de classes. Há três tipos de constantes, Flags (FL_), erros (ER_) ou modo (sem prefixo).
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)