Home > PHP > Function > > ZipArchive::getNameIndex()

ZipArchive::getNameIndex()

ZipArchive::getNameIndex - Returns the name of an entry using its index

Syntax

string ZipArchive::getNameIndex (int $index)

Arguments

  • index - Index of the entry.

Description

Returns the name of an entry using its index.

Version

PHP 5.2.0, PECL zip >= 1.5.0

Return value

Returns the name on success or FALSE on failure.