(PHP 5 >= 5.6.0, PECL zip >= 1.12.4)
ZipArchive::setPassword — Set the password for the active archive
$password
)Sets the password for the active archive.
password
The password to add to the archive.
Returns TRUE
on success or FALSE
on failure.