下列常量由此扩展定义,且仅在此扩展编译入 PHP 或在运行时动态载入时可用。
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)