(PHP 8 >= 8.2.0, PECL zip >= 1.20.0)
ZipArchive::getStreamName — Get a file handler to the entry defined by its name (read only)
Get a file handler to the entry defined by its name. For now, it only supports read operations.
nameThe name of the entry to use.
flags
If flags is set to ZipArchive::FL_UNCHANGED, the original unchanged
stream is returned.
Returns a file pointer (resource) on success or false on failure.