ZipArchive::unchangeAll

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

ZipArchive::unchangeAllUndo all changes done in the archive

说明

public ZipArchive::unchangeAll ( ) : bool

Undo all changes done in the archive.

参数

此函数没有参数。

返回值

成功时返回 true, 或者在失败时返回 false

User Contributed Notes

mauro dot chojrin at leewayweb dot com 29-Nov-2017 02:56
This should probably come without any surprise, but the changes can only be undone before close() is called...