This should probably come without any surprise, but the changes can only be undone before close() is called...
(PHP 5 >= 5.2.0, PHP 7, PHP 8, PECL zip >= 1.1.0)
ZipArchive::unchangeAll — Undo all changes done in the archive
This function has no parameters.
Returns true
on success or false
on failure.
This should probably come without any surprise, but the changes can only be undone before close() is called...