ZIPARCHIVE.GETNAMEINDEX(3) 1 ZIPARCHIVE.GETNAMEINDEX(3) ZipArchive::getNameIndex - Returns the name of an entry using its indexSYNOPSISstring ZipArchive::getNameIndex (int $index, [int $flags])DESCRIPTIONReturns the name of an entry using its index.PARAMETERSo $index - Index of the entry. o $flags - If flags is set to ZipArchive::FL_UNCHANGED, the original unchanged name is returned.RETURN VALUESReturns the name on success or FALSE on failure.EXAMPLESExample #1 ZipArchive.getNameIndex(3) example <?php if ($zip->open('test.zip') == TRUE) { for ($i = 0; $i < $zip->numFiles; $i++) { $filename = $zip->getNameIndex($i); // ... } } ?> PHP Documentation Group ZIPARCHIVE.GETNAMEINDEX(3)