File tree 3 files changed +11
-4
lines changed
3 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -153,5 +153,7 @@ PHP NEWS
153
153
is closed. (Remi)
154
154
. Fixed bug #50678 (files extracted by ZipArchive class lost their
155
155
original modified time). (Remi)
156
+ . Implemented FR #77960 (add compression / encryption options for
157
+ ZipArchive::addGlob and ZipArchive::addPattern). (Remi)
156
158
157
159
<<< 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
450
450
RFC: https://wiki.php.net/rfc/dom_living_standard_api
451
451
452
452
- Zip:
453
- . Extension updated to version 1.18
453
+ . Extension updated to version 1.18.1
454
454
. New ZipArchive::lastId property to get index value of last added entry.
455
455
. Error can be checked after an archive is closed using ZipArchive::status,
456
456
ZipArchive::statusSys properties or ZipArchive::getStatusString() method.
@@ -475,8 +475,13 @@ PHP 8.0 UPGRADE NOTES
475
475
========================================
476
476
477
477
- 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
480
485
. ZipArchive::addEmptyDir, ZipArchive::addFile and aZipArchive::addFromString
481
486
methods have a new "flags" argument. This allow to manage name encoding
482
487
(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;
31
31
#define ZIP_OVERWRITE ZIP_TRUNCATE
32
32
#endif
33
33
34
- #define PHP_ZIP_VERSION "1.18.0 "
34
+ #define PHP_ZIP_VERSION "1.18.1 "
35
35
36
36
#define ZIP_OPENBASEDIR_CHECKPATH (filename ) php_check_open_basedir(filename)
37
37
You can’t perform that action at this time.
0 commit comments