Skip to content

Commit 125724c

Browse files
committed
[ci skip] fix for #72374 is no more a BC break
1 parent be14d4e commit 125724c

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

NEWS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ PHP NEWS
131131
(cmb)
132132

133133
- Zip:
134-
. Fixed bug #72374 (remove_path strips first char of filename). (tyage)
134+
. Fixed bug #72374 (remove_path strips first char of filename). (tyage, Remi)
135135
. Add ZipArchive::setMtimeName and ZipArchive::setMtimeIndex methods. (Remi)
136136
. Add ZipArchive::setProgressCallback method (since libzip 1.3.0). (Remi)
137137
. Add ZipArchive::setCancelCallback method (since libzip 1.6.0). (Remi)

UPGRADING

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -363,11 +363,6 @@ PHP 8.0 UPGRADE NOTES
363363
objects instead of resources.
364364

365365
- Zip:
366-
. The remove_path option of ZipArchive::addGlob() and ::addPattern() is now
367-
treated as arbitrary string prefix (for consistency with the add_path
368-
option), whereas formerly it was treated as directory name. This means that
369-
if no trailing directory separator is given, the following character is
370-
no longer stripped from the filename.
371366
. ZipArchive::OPSYS_Z_CPM have been removed, should use ZipArchive::OPSYS_CPM
372367
(this name was a typo).
373368

@@ -428,6 +423,9 @@ PHP 8.0 UPGRADE NOTES
428423
. New ZipArchive::lastId property to get index value of last added entry.
429424
. Error can be checked after an archive is closed using ZipArchive::status,
430425
ZipArchive::statusSys properties or ZipArchive::getStatusString() method.
426+
. The remove_path option of ZipArchive::addGlob() and ::addPattern() is now
427+
treated as arbitrary string prefix (for consistency with the add_path
428+
option), whereas formerly it was treated as directory name.
431429

432430
========================================
433431
3. Changes in SAPI modules

0 commit comments

Comments
 (0)