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_add(3) - centos
zip_get_file_comment(3) - debian
ziparchive.addfile(3) - php
ziparchive(3) - php
zip_entry_open(3) - php
Similar Topics in the Unix Linux Community
UNIX.COM 2017 Year End Summary
Status of UNIX.COM Forum Transformation
Please Welcome Ravinder Singh to the Moderation Team
Denial Of Service Attack Update