User tests: Successful: Unsuccessful:
zip_* functions are deprecated on PHP 8. Use ZipArchive instead.
Test that extracting zip archive using JArchiveZip still works. E.g. use this code:
$zip = new JArchiveZip;
$zip->extract($file, $destination);
Where $file is path to zip archive and $destination is destination directory.
Works like before.
No.
| Status | New | ⇒ | Pending |
| Category | ⇒ | Libraries |
Already done.
what i'm missing ?
https://github.com/joomla/joomla-cms/blob/staging/libraries/vendor/joomla/archive/src/Zip.php#L276-L315
is full of zip_*
I tested the Zip Archive in our framework (which uses the same code) successfully.
Thanks
| Status | Pending | ⇒ | Fixed in Code Base |
| Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-11-14 18:02:05 |
| Closed_By | ⇒ | HLeithner | |
| Labels |
Added:
?
?
|
||
you should do the same fix on https://github.com/joomla/joomla-cms/blob/staging/libraries/vendor/joomla/archive/src/Zip.php too