File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -157,5 +157,8 @@ PHP NEWS
157
157
original modified time). (Remi)
158
158
. Implemented FR #77960 (add compression / encryption options for
159
159
ZipArchive::addGlob and ZipArchive::addPattern). (Remi)
160
+ . Add ZipArchive::EM_UNKNOWN and ZipArchive::EM_TRAD_PKWARE constants. (Remi)
161
+ . Add ZipArchive::isCompressionMethodSupported() and
162
+ ZipArchive::isEncryptionMethodSupported() method (libzip 1.7.0). (Remi)
160
163
161
164
<<< NOTE: Insert NEWS from last stable release here prior to actual release! >>>
Original file line number Diff line number Diff line change @@ -457,13 +457,14 @@ PHP 8.0 UPGRADE NOTES
457
457
RFC: https://wiki.php.net/rfc/dom_living_standard_api
458
458
459
459
- Zip:
460
- . Extension updated to version 1.18.2
460
+ . Extension updated to version 1.19.0
461
461
. New ZipArchive::lastId property to get index value of last added entry.
462
462
. Error can be checked after an archive is closed using ZipArchive::status,
463
463
ZipArchive::statusSys properties or ZipArchive::getStatusString() method.
464
464
. The remove_path option of ZipArchive::addGlob() and ::addPattern() is now
465
465
treated as arbitrary string prefix (for consistency with the add_path
466
466
option), whereas formerly it was treated as directory name.
467
+ . Optional compression / encryption features are listed in phpinfo.
467
468
468
469
========================================
469
470
3. Changes in SAPI modules
@@ -528,6 +529,10 @@ PHP 8.0 UPGRADE NOTES
528
529
. ZipArchive::setProgressCallback to provide updates during archive close.
529
530
. ZipArchive::setCancelCallback to allow cancellation during archive close.
530
531
. ZipArchive::replaceFile to replace an entry content.
532
+ . ZipArchive::isCompressionMethodSupported to check optional compression
533
+ features.
534
+ . ZipArchive::isEncryptionMethodSupported to check optional encryption
535
+ features.
531
536
532
537
========================================
533
538
7. New Classes and Interfaces
You can’t perform that action at this time.
0 commit comments