(PHP 5 >= 5.6.0, PHP 7, PECL zip >= 1.12.4)
Set the external attributes of an entry defined by its name
bool ZipArchive::setExternalAttributesName ( string $name, int $opsys, int $attr [, int $flags ] )
Set the external attributes of an entry defined by its name.
Parameters:
name
Name of the entry.
opsys
The operating system code