(PHP 5 >= 5.2.0, PHP 7, PECL zip >= 1.1.0)
Returns the entry contents using its name
string ZipArchive::getFromName ( string $name [, int $length = 0 [, int $flags ]] )
Returns the entry contents using its name.
Parameters:
name
Name of the entry
length
The length to be read from the entry. If 0, then the entire entry is read.