ZipArchive::statName()
ZipArchive::statName - Get the details of an entry defined by its name.
Syntax
mixed ZipArchive::statName (
$name,
int $flags)
Arguments
- name - Name of the entry
- flags - The flags argument specifies how the name lookup should be done. Also, ZIPARCHIVE::FL_UNCHANGED may be ORed to it to request information about the original file in the archive, ignoring any changes made. ZIPARCHIVE::FL_NOCASE ZIPARCHIVE::FL_NODIR ZIPARCHIVE::FL_UNCHANGED
Description
The function obtains information about the entry defined by its name.
Version
PHP 5.2.0, PECL zip >= 1.5.0
Return value
Returns an array containing the entry details or FALSE on failure.