File tree Expand file tree Collapse file tree 3 files changed +11
-4
lines changed
Expand file tree Collapse file tree 3 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -153,5 +153,7 @@ PHP NEWS
153153 is closed. (Remi)
154154 . Fixed bug #50678 (files extracted by ZipArchive class lost their
155155 original modified time). (Remi)
156+ . Implemented FR #77960 (add compression / encryption options for
157+ ZipArchive::addGlob and ZipArchive::addPattern). (Remi)
156158
157159<<< NOTE: Insert NEWS from last stable release here prior to actual release! >>>
Original file line number Diff line number Diff line change @@ -450,7 +450,7 @@ PHP 8.0 UPGRADE NOTES
450450 RFC: https://wiki.php.net/rfc/dom_living_standard_api
451451
452452- Zip:
453- . Extension updated to version 1.18
453+ . Extension updated to version 1.18.1
454454 . New ZipArchive::lastId property to get index value of last added entry.
455455 . Error can be checked after an archive is closed using ZipArchive::status,
456456 ZipArchive::statusSys properties or ZipArchive::getStatusString() method.
@@ -475,8 +475,13 @@ PHP 8.0 UPGRADE NOTES
475475========================================
476476
477477- Zip
478- . ZipArchive::addGlob and ZipArchive::addPattern methods accept a "flags"
479- value in the "options" array argument.
478+ . ZipArchive::addGlob and ZipArchive::addPattern methods accept more
479+ values in the "options" array argument:
480+ . flags
481+ . comp_method
482+ . comp_flags
483+ . env_method
484+ . enc_pasword
480485 . ZipArchive::addEmptyDir, ZipArchive::addFile and aZipArchive::addFromString
481486 methods have a new "flags" argument. This allow to manage name encoding
482487 (ZipArchive::FL_ENC_*) and entry replacement (ZipArchive::FL_OVERWRITE)
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ extern zend_module_entry zip_module_entry;
3131#define ZIP_OVERWRITE ZIP_TRUNCATE
3232#endif
3333
34- #define PHP_ZIP_VERSION "1.18.0 "
34+ #define PHP_ZIP_VERSION "1.18.1 "
3535
3636#define ZIP_OPENBASEDIR_CHECKPATH (filename ) php_check_open_basedir(filename)
3737
You can’t perform that action at this time.
0 commit comments