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 — Desfaz todas as alterações feitas no arquivo
Desfaz todas as alterações feitas no arquivo.
Esta função não possui parâmetros.
This should probably come without any surprise, but the changes can only be undone before close() is called...