php / 8.1.5 / ziparchive.unchangeindex.html /

ZipArchive::unchangeIndex

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

ZipArchive::unchangeIndexRevert all changes done to an entry at the given index

Description

public ZipArchive::unchangeIndex(int $index): bool

Revert all changes done to an entry at the given index.

Parameters

index

Index of the entry.

Return Values

Returns true on success or false on failure.

© 1997–2021 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/ziparchive.unchangeindex.php