首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往

ZipArchive::setPassword

(PHP 5 >= 5.6.0, PHP 7, PECL zip >= 1.12.4)

ZipArchive::setPassword — Set the password for the active archive

描述

代码语言:javascript
复制
public bool ZipArchive::setPassword ( string $password )

设置活动档案的密码。

参数

password

用于存档的密码。

返回值

成功时返回TRUE失败时返回FALSE

笔记

← ZipArchive::setExternalAttributesName

扫码关注腾讯云开发者

领取腾讯云代金券

http://www.vxiaotou.com