initdata php,PharData - [ php中文手册 ] - 在线原生手册 - php中文网

PharData::addEmptyDir — Add an empty directory to the tar/zip archive

PharData::addFile — Add a file from the filesystem to the tar/zip archive

PharData::addFromString — Add a file from the filesystem to the tar/zip archive

PharData::buildFromDirectory — Construct a tar/zip archive from the files within a directory.

PharData::buildFromIterator — Construct a tar or zip archive from an iterator.

PharData::compress — Compresses the entire tar/zip archive using Gzip or Bzip2 compression

PharData::compressFiles — Compresses all files in the current tar/zip archive

PharData::__construct — Construct a non-executable tar or zip archive object

PharData::convertToData — Convert a phar archive to a non-executable tar or zip file

PharData::convertToExecutable — Convert a non-executable tar/zip archive to an executable phar archive

PharData::copy — Copy a file internal to the phar archive to another new file within the phar

PharData::decompress — Decompresses the entire Phar archive

PharData::decompressFiles — Decompresses all files in the current zip archive

PharData::delMetadata — Deletes the global metadata of a zip archive

PharData::delete — Delete a file within a tar/zip archive

PharData::extractTo — Extract the contents of a tar/zip archive to a directory

PharData::isWritable — Returns true if the tar/zip archive can be modified

PharData::offsetSet — set the contents of a file within the tar/zip to those of an external file or string

PharData::offsetUnset — remove a file from a tar/zip archive

PharData::setAlias — dummy function (Phar::setAlias is not valid for PharData)

PharData::setDefaultStub — dummy function (Phar::setDefaultStub is not valid for PharData)

Phar::setMetadata — Sets phar archive meta-data

Phar::setSignatureAlgorithm — set the signature algorithm for a phar and apply it.

PharData::setStub — dummy function (Phar::setStub is not valid for PharData)

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值