mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
add ZipArchive::CM_XZ constant (in upcoming libzip 1.8.0)
This commit is contained in:
parent
7686118212
commit
42226fcf03
2 changed files with 4 additions and 1 deletions
|
@ -3082,6 +3082,9 @@ static PHP_MINIT_FUNCTION(zip)
|
||||||
#ifdef ZIP_CM_LZMA2
|
#ifdef ZIP_CM_LZMA2
|
||||||
REGISTER_ZIP_CLASS_CONST_LONG("CM_LZMA2", ZIP_CM_LZMA2);
|
REGISTER_ZIP_CLASS_CONST_LONG("CM_LZMA2", ZIP_CM_LZMA2);
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef ZIP_CM_ZSTD
|
||||||
|
REGISTER_ZIP_CLASS_CONST_LONG("CM_ZSTD", ZIP_CM_ZSTD);
|
||||||
|
#endif
|
||||||
#ifdef ZIP_CM_XZ
|
#ifdef ZIP_CM_XZ
|
||||||
REGISTER_ZIP_CLASS_CONST_LONG("CM_XZ", ZIP_CM_XZ);
|
REGISTER_ZIP_CLASS_CONST_LONG("CM_XZ", ZIP_CM_XZ);
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -31,7 +31,7 @@ extern zend_module_entry zip_module_entry;
|
||||||
#define ZIP_OVERWRITE ZIP_TRUNCATE
|
#define ZIP_OVERWRITE ZIP_TRUNCATE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define PHP_ZIP_VERSION "1.19.0"
|
#define PHP_ZIP_VERSION "1.19.1-dev"
|
||||||
|
|
||||||
#define ZIP_OPENBASEDIR_CHECKPATH(filename) php_check_open_basedir(filename)
|
#define ZIP_OPENBASEDIR_CHECKPATH(filename) php_check_open_basedir(filename)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue