Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<ZipArchive::unchangeAllZipArchive::unchangeIndex>
^ZipArchiveLast updated: Mon, 26 Oct 2026

ZipArchive::unchangeArchive

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

ZipArchive::unchangeArchive — Revert all global changes done in the archive

Description

public function ZipArchive::unchangeArchive(): bool

Revert all global changes to the archive. For now, this only reverts archive comment changes.

Parameters

This function has no parameters.

Return Values

Returns true on success or false on failure.


<ZipArchive::unchangeAllZipArchive::unchangeIndex>
^ZipArchiveLast updated: Mon, 26 Oct 2026