skip to Main Content

Set directory mtime in ZipArchive with PHP 7.4

In PHP 7.4, neither ZipArchive::setMtimeIndex nor ZipArchive::setMtimeName is available. When creating Zip archives from files in PHP 7.4; files' mtime and permissions are applied to the corresponding Zip entries' attributes by the ZipArchive::addFile method. Unfortunately, it is not the case…

VIEW QUESTION
Back To Top
Search