PHP 8.4.6 Released!

ZipArchive::unchangeAll

(PHP 5 >= 5.2.0, PHP 7, PHP 8, PECL zip >= 1.1.0)

ZipArchive::unchangeAllUndo all changes done in the archive

Description

public ZipArchive::unchangeAll(): bool

Undo all changes done in the archive.

Parameters

This function has no parameters.

Return Values

Returns true on success or false on failure.

User Contributed Notes

mauro dot chojrin at leewayweb dot com
7 years ago
This should probably come without any surprise, but the changes can only be undone before close() is called...
To Top