以下の定数が定義されています。 この関数の拡張モジュールが PHP 組み込みでコンパイルされているか、 実行時に動的にロードされている場合のみ使用可能です。
ZipArchive はクラス定数を使用します。定数には
フラグ (接頭辞 FL_
)、
エラー (接頭辞 ER_
)
あるいはモード (接頭辞なし)
の三種類があります。
ZipArchive::CREATE
(int)
ZipArchive::OVERWRITE
(int)
ZipArchive::EXCL
(int)
ZipArchive::RDONLY
(int)
ZipArchive::CHECKCONS
(int)
ZipArchive::FL_NOCASE
(int)
ZipArchive::FL_NODIR
(int)
ZipArchive::FL_COMPRESSED
(int)
ZipArchive::FL_UNCHANGED
(int)
ZipArchive::FL_RECOMPRESS
(int)
ZipArchive::FL_ENCRYPTED
(int)
ZipArchive::FL_OVERWRITE
(int)
ZipArchive::FL_LOCAL
(int)
ZipArchive::ZIP_FL_CENTRAL
(int)
ZipArchive::FL_ENC_GUESS
(int)
ZipArchive::FL_ENC_RAW
(int)
ZipArchive::FL_ENC_STRICT
(int)
ZipArchive::FL_ENC_UTF_8
(int)
ZipArchive::FL_ENC_CP437
(int)
ZipArchive::CM_DEFAULT
(int)
ZipArchive::CM_STORE
(int)
ZipArchive::CM_SHRINK
(int)
ZipArchive::CM_REDUCE_1
(int)
ZipArchive::CM_REDUCE_2
(int)
ZipArchive::CM_REDUCE_3
(int)
ZipArchive::CM_REDUCE_4
(int)
ZipArchive::CM_IMPLODE
(int)
ZipArchive::CM_DEFLATE
(int)
ZipArchive::CM_DEFLATE64
(int)
ZipArchive::CM_PKWARE_IMPLODE
(int)
ZipArchive::CM_BZIP2
(int)
ZipArchive::CM_LZMA
(int)
ZipArchive::CM_LZMA2
(int)
ZipArchive::CM_ZSTD
(int)
ZipArchive::CM_XZ
(int)
ZipArchive::ER_OK
(int)
ZipArchive::ER_MULTIDISK
(int)
ZipArchive::ER_RENAME
(int)
ZipArchive::ER_CLOSE
(int)
ZipArchive::ER_SEEK
(int)
ZipArchive::ER_READ
(int)
ZipArchive::ER_WRITE
(int)
ZipArchive::ER_CRC
(int)
ZipArchive::ER_ZIPCLOSED
(int)
ZipArchive::ER_NOENT
(int)
ZipArchive::ER_EXISTS
(int)
ZipArchive::ER_OPEN
(int)
ZipArchive::ER_TMPOPEN
(int)
ZipArchive::ER_ZLIB
(int)
ZipArchive::ER_MEMORY
(int)
ZipArchive::ER_CHANGED
(string)
ZipArchive::ER_COMPNOTSUPP
(int)
ZipArchive::ER_EOF
(int)
ZipArchive::ER_INVAL
(int)
ZipArchive::ER_NOZIP
(int)
ZipArchive::ER_INTERNAL
(int)
ZipArchive::ER_INCONS
(int)
ZipArchive::ER_REMOVE
(int)
ZipArchive::ER_DELETED
(int)
ZipArchive::ER_ENCRNOTSUPP
(int)
ZipArchive::ER_RDONLY
(int)
ZipArchive::ER_NOPASSWD
(int)
ZipArchive::ER_WRONGPASSWD
(int)
ZipArchive::ZIP_ER_OPNOTSUPP
(int)
ZipArchive::ZIP_ER_INUSE
(int)
ZipArchive::ZIP_ER_TELL
(int)
ZipArchive::ZIP_ER_COMPRESSED_DATA
(int)
ZipArchive::ER_CANCELLED
(int)
ZipArchive::EM_NONE
(int)
ZipArchive::EM_TRAD_PKWARE
(int)
ZipArchive::EM_AES_128
(int)
ZipArchive::EM_AES_192
(int)
ZipArchive::EM_AES_256
(int)
ZipArchive::EM_UNKNOWN
(int)
ZipArchive::LIBZIP_VERSION
(string)
ZipArchive::OPSYS_DOS
(int)
ZipArchive::OPSYS_AMIGA
(int)
ZipArchive::OPSYS_OPENVMS
(int)
ZipArchive::OPSYS_UNIX
(int)
ZipArchive::OPSYS_VM_CMS
(int)
ZipArchive::OPSYS_ATARI_ST
(int)
ZipArchive::OPSYS_OS_2
(int)
ZipArchive::OPSYS_MACINTOSH
(int)
ZipArchive::OPSYS_Z_SYSTEM
(int)
ZipArchive::OPSYS_CPM
(int)
ZipArchive::OPSYS_WINDOWS_NTFS
(int)
ZipArchive::OPSYS_MVS
(int)
ZipArchive::OPSYS_VSE
(int)
ZipArchive::OPSYS_ACORN_RISC
(int)
ZipArchive::OPSYS_VFAT
(int)
ZipArchive::OPSYS_ALTERNATE_MVS
(int)
ZipArchive::OPSYS_BEOS
(int)
ZipArchive::OPSYS_TANDEM
(int)
ZipArchive::OPSYS_OS_400
(int)
ZipArchive::OPSYS_OS_X
(int)
ZipArchive::OPSYS_DEFAULT
(int)