ZipArchive::renameIndex
ZipArchive::renameIndex
(PHP 5 >= 5.2.0, PHP 7, PECL zip >= 1.5.0)
ZipArchive::renameIndex — Renames an entry defined by its index
Description
bool ZipArchive::renameIndex ( int $index , string $newname )
Renames an entry defined by its index.
Parameters
-
index
-
Index of the entry to rename.
-
newname
-
New name.