Phar::addEmptyDir — 添加一个空目录到 phar 档案

Phar::addFile — 将一个文件从文件系统添加到 phar 档案中

Phar::addFromString — 以字符串的形式添加一个文件到 phar 档案

Phar::apiVersion — Returns the api version

Phar::buildFromDirectory — Construct a phar archive from the files within a directory

Phar::buildFromIterator — Construct a phar archive from an iterator

Phar::canCompress — Returns whether phar extension supports compression using either zlib or bzip2

Phar::canWrite — Returns whether phar extension supports writing and creating phars

Phar::compress — Compresses the entire Phar archive using Gzip or Bzip2 compression

Phar::compressFiles — Compresses all files in the current Phar archive

Phar::__construct — Construct a Phar archive object

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

Phar::convertToExecutable — Convert a phar archive to another executable phar archive file format

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

Phar::count — Returns the number of entries (files) in the Phar archive

Phar::createDefaultStub — Create a phar-file format specific stub

Phar::decompress — Decompresses the entire Phar archive

Phar::decompressFiles — Decompresses all files in the current Phar archive

Phar::delMetadata — Deletes the global metadata of the phar

Phar::delete — 删除 phar 档案中的一个文件

Phar::extractTo — Extract the contents of a phar archive to a directory

Phar::getAlias — Get the alias for Phar

Phar::getMetadata — Returns phar archive meta-data

Phar::getModified — Return whether phar was modified

Phar::getPath — Get the real path to the Phar archive on disk

Phar::getSignature — Return MD5/SHA1/SHA256/SHA512/OpenSSL signature of a Phar archive

Phar::getStub — Return the PHP loader or bootstrap stub of a Phar archive

Phar::getSupportedCompression — Return array of supported compression algorithms

Phar::getSupportedSignatures — Return array of supported signature types

Phar::getVersion — Return version info of Phar archive

Phar::hasMetadata — Returns whether phar has global meta-data

Phar::interceptFileFuncs — Instructs phar to intercept fopen, file_get_contents, opendir, and all of the stat-related functions

Phar::isBuffering — Used to determine whether Phar write operations are being buffered, or are flushing directly to disk

Phar::isCompressed — Returns Phar::GZ or PHAR::BZ2 if the entire phar archive is compressed (.tar.gz/tar.bz and so on)

Phar::isFileFormat — Returns true if the phar archive is based on the tar/phar/zip file format depending on the parameter

Phar::isValidPharFilename — Returns whether the given filename is a valid phar filename

Phar::isWritable — Returns true if the phar archive can be modified

Phar::loadPhar — Loads any phar archive with an alias

Phar::mapPhar — Reads the currently executed file (a phar) and registers its manifest

Phar::mount — Mount an external path or file to a virtual location within the phar archive

Phar::mungServer — Defines a list of up to 4 $_SERVER variables that should be modified for execution

Phar::offsetExists — Determines whether a file exists in the phar

Phar::offsetGet — Gets a PharFileInfo object for a specific file

Phar::offsetSet — Set the contents of an internal file to those of an external file

Phar::offsetUnset — Remove a file from a phar

Phar::running — Returns the full path on disk or full phar URL to the currently executing Phar archive

Phar::setAlias — Set the alias for the Phar archive

Phar::setDefaultStub — Used to set the PHP loader or bootstrap stub of a Phar archive to the default loader

Phar::setMetadata — Sets phar archive meta-data

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

Phar::setStub — Used to set the PHP loader or bootstrap stub of a Phar archive

Phar::startBuffering — Start buffering Phar write operations, do not modify the Phar object on disk

Phar::stopBuffering — Stop buffering write requests to the Phar archive, and save changes to disk

Phar::unlinkArchive — Completely remove a phar archive from disk and from memory

Phar::webPhar — mapPhar for web-based phars. front controller for web applications

php php phar,PHP: Phar - Manual相关推荐

  1. php phar 反序列化,PHAR反序列化拓展操作总结

    *本文原创作者:cck,本文属FreeBuf原创奖励计划,未经许可禁止转载 前言 近些阵子反序列化漏洞横行,看了几篇文章,整个漏洞发现过程是非常有意思的,所以希望总结下来,分享给大家一起研究讨论,如有 ...

  2. php composer failed to open file: phar://composer.phar/bin........问题解决

    今天用命令行运行composer安装依赖时突然报如下错误: <b>Notice</b>: failed to open file: phar://composer.phar/b ...

  3. php phar,PHP phar:协议对象注入技术介绍

    前言 在之前的BlackHat 2018大会上公布了一款针对PHP应用程序的全新攻击技术.我们将通过这篇文章简单介绍下. 来自Secarma的安全研究员Sam Thomas发现了一种新的开发技术,它可 ...

  4. php phar 反序列化,phar反序列化

    phar原理: 一个标志,格式为xxx<?php xxx;__HALT_COMPILER();?>,前面内容不限,但必须以__HALT_COMPILER();?>来结尾,否则phar ...

  5. php phar教程,Phar:PHP文件存档

    Phar:PHP文件归档 1. Phar简介 Phar是PHP Archive缩写,将php文件归档到一个文件包. 将一个模块的文件打包成一个phar,这样方便模块整体迁移,只需将phar文件移动过去 ...

  6. php zlib decompress,PHP - Manual: Phar::decompress (官方文档)

    说明 public Phar::decompress ([ string $extension ] ) : object Note: 此方法需要 将 php.ini 中的 phar.readonly ...

  7. 使用Phar来打包发布PHP程序

    简单来说,Phar就是把Java界的jar概念移植到了PHP界. Phar可以将一组PHP文件进行打包,还可以创建默认执行的stub(或者叫做 bootstrap loader),Phar可以选择是否 ...

  8. PHP phar详解

    一  phar文件是什么 Jar(Java Archive)文件,一个应用,包括所有的可执行,可访问的文件,都打包进了一个JAR文件里,使得部署过程十分简单. 类似于JAR.phar全称为PHP Ar ...

  9. 『PHP』phar文件详解_phar文件格式_调用phar类方法生成phar文件

    phar简介 phar,全称为PHP Archive,phar扩展提供了一种将整个PHP应用程序放入.phar文件中的方法,以方便移动.安装..phar文件的最大特点是将几个文件组合成一个文件的便捷方 ...

最新文章

  1. SQL中truncate table和delete的区别
  2. 为HttpStatusCodeResult加入customErrors
  3. 【译】A gentle introduction to self-sovereign identity
  4. FastDFS的配置、部署与API使用解读(7)Nginx的FastDFS模块(转)
  5. PHP如何添加变量 $_SERVER
  6. CodeForces - 1481E Sorting Books(贪心+dp)
  7. jquery 逗号分割截取字符串_Python中常用的8种字符串操作方法
  8. #2009. 「SCOI2015」小凸玩密室
  9. canvas 实现刮刮乐
  10. JSP概述--JSP的起源,本质,运行原理
  11. IEC103通讯规约学习心得
  12. 移动端产品比较分析:APP、小程序、H5
  13. 如何制作内网web服务器,内网搭建WEB服务器教程
  14. OpenCV每日函数 图像过滤模块 (14) medianBlur中值滤波函数
  15. 小米手机安装欧洲版系统(MIUI12) 详细安装教程
  16. nfs挂在内核或U-boot出错TT***ERROR:Cannotumount
  17. 初识Continuation
  18. 2021 China Open Source Annual Report
  19. 从ACL 2022 Onsite经历看NLP热点
  20. dbeaver的安装和使用

热门文章

  1. 课程9:PLC常用指令之上升沿与下降沿(工控PLC工程师入门必读,5天可上手调试)
  2. Android动画框架(二)----属性动画
  3. 好用的插件介绍-Clear Cache Chrome插件
  4. 移动APP数据分析能做什么
  5. 计算机检测维修的英语缩写,(完整版)必须懂的53个电脑英文缩写(2页)-原创力文档...
  6. vue.config.js错误代码
  7. js 16进制字符串 转 ArrayBuffer
  8. 数据库的三级模式结构以及如何理解数据库的三级模式
  9. vuejs笔记(初学,有错请指出)
  10. Solrcloud安装与使用