is closed. (Remi)
. Fixed bug #50678 (files extracted by ZipArchive class lost their
original modified time). (Remi)
+ . Implemented FR #77960 (add compression / encryption options for
+ ZipArchive::addGlob and ZipArchive::addPattern). (Remi)
<<< NOTE: Insert NEWS from last stable release here prior to actual release! >>>
RFC: https://wiki.php.net/rfc/dom_living_standard_api
- Zip:
- . Extension updated to version 1.18
+ . Extension updated to version 1.18.1
. New ZipArchive::lastId property to get index value of last added entry.
. Error can be checked after an archive is closed using ZipArchive::status,
ZipArchive::statusSys properties or ZipArchive::getStatusString() method.
========================================
- Zip
- . ZipArchive::addGlob and ZipArchive::addPattern methods accept a "flags"
- value in the "options" array argument.
+ . ZipArchive::addGlob and ZipArchive::addPattern methods accept more
+ values in the "options" array argument:
+ . flags
+ . comp_method
+ . comp_flags
+ . env_method
+ . enc_pasword
. ZipArchive::addEmptyDir, ZipArchive::addFile and aZipArchive::addFromString
methods have a new "flags" argument. This allow to manage name encoding
(ZipArchive::FL_ENC_*) and entry replacement (ZipArchive::FL_OVERWRITE)
#define ZIP_OVERWRITE ZIP_TRUNCATE
#endif
-#define PHP_ZIP_VERSION "1.18.0"
+#define PHP_ZIP_VERSION "1.18.1"
#define ZIP_OPENBASEDIR_CHECKPATH(filename) php_check_open_basedir(filename)