ziparchive.getnameindex(3) php man page | unix.com

Man Page: ziparchive.getnameindex

Operating Environment: php

Section: 3

ZIPARCHIVE.GETNAMEINDEX(3)						 1						ZIPARCHIVE.GETNAMEINDEX(3)

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

SYNOPSIS
string ZipArchive::getNameIndex (int $index, [int $flags])
DESCRIPTION
Returns the name of an entry using its index.
PARAMETERS
o $index - Index of the entry. o $flags - If flags is set to ZipArchive::FL_UNCHANGED, the original unchanged name is returned.
RETURN VALUES
Returns the name on success or FALSE on failure.
EXAMPLES
Example #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)
Related Man Pages
zip_get_file_comment(3) - debian
zip_get_name(3) - debian
ziparchive.addfile(3) - php
ziparchive(3) - php
phardata.extractto(3) - php
Similar Topics in the Unix Linux Community
Forum Video Tutorial: How to Use Code Tags
Coming Soon: Upgrade Forum Software (Dec 31 - Jan 1)
Status of UNIX.COM Forum Transformation
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Wolf Machowitsch
Denial Of Service Attack Update