[ci skip] fix for #72374 is no more a BC break

This commit is contained in:
Remi Collet 2020-03-06 10:29:16 +01:00
parent be14d4e135
commit 125724cf58
2 changed files with 4 additions and 6 deletions

2
NEWS
View File

@ -131,7 +131,7 @@ PHP NEWS
(cmb)
- Zip:
. Fixed bug #72374 (remove_path strips first char of filename). (tyage)
. Fixed bug #72374 (remove_path strips first char of filename). (tyage, Remi)
. Add ZipArchive::setMtimeName and ZipArchive::setMtimeIndex methods. (Remi)
. Add ZipArchive::setProgressCallback method (since libzip 1.3.0). (Remi)
. Add ZipArchive::setCancelCallback method (since libzip 1.6.0). (Remi)

View File

@ -363,11 +363,6 @@ PHP 8.0 UPGRADE NOTES
objects instead of resources.
- Zip:
. The remove_path option of ZipArchive::addGlob() and ::addPattern() is now
treated as arbitrary string prefix (for consistency with the add_path
option), whereas formerly it was treated as directory name. This means that
if no trailing directory separator is given, the following character is
no longer stripped from the filename.
. ZipArchive::OPSYS_Z_CPM have been removed, should use ZipArchive::OPSYS_CPM
(this name was a typo).
@ -428,6 +423,9 @@ PHP 8.0 UPGRADE NOTES
. 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.
. The remove_path option of ZipArchive::addGlob() and ::addPattern() is now
treated as arbitrary string prefix (for consistency with the add_path
option), whereas formerly it was treated as directory name.
========================================
3. Changes in SAPI modules