Phar类
- Phar::addEmptyDir()
- 添加一个空目录到phar档案
- Phar::addFile()
- 将一个文件从文件系统添加到phar档案中
- Phar::addFromString()
- 以字符串的形式添加一个文件到phar档案
- Phar::apiVersion()
- Returnstheapiversion
- Phar::buildFromDirectory()
- Constructaphararchivefromthefileswithinadirectory
- Phar::buildFromIterator()
- Constructaphararchivefromaniterator
- Phar::canCompress()
- Returnswhetherpharextensionsupportscompressionusingeitherzliborbzip2
- Phar::canWrite()
- Returnswhetherpharextensionsupportswritingandcreatingphars
- Phar::compress()
- CompressestheentirePhararchiveusingGziporBzip2compression
- Phar::compressAllFilesBZIP2()
- CompressesallfilesinthecurrentPhararchiveusingBzip2compression
- Phar::compressAllFilesGZ()
- CompressesallfilesinthecurrentPhararchiveusingGzipcompression
- Phar::compressFiles()
- CompressesallfilesinthecurrentPhararchive
- Phar::__construct()
- ConstructaPhararchiveobject
- Phar::convertToData()
- Convertaphararchivetoanon-executabletarorzipfile
- Phar::convertToExecutable()
- Convertaphararchivetoanotherexecutablephararchivefileformat
- Phar::copy()
- Copyafileinternaltothephararchivetoanothernewfilewithinthephar
- Phar::count()
- Returnsthenumberofentries(files)inthePhararchive
- Phar::createDefaultStub()
- Createaphar-fileformatspecificstub
- Phar::decompress()
- DecompressestheentirePhararchive
- Phar::decompressFiles()
- DecompressesallfilesinthecurrentPhararchive
- Phar::delMetadata()
- Deletestheglobalmetadataofthephar
- Phar::delete()
- 删除phar档案中的一个文件
- Phar::extractTo()
- Extractthecontentsofaphararchivetoadirectory
- Phar::getAlias()
- GetthealiasforPhar
- Phar::getMetadata()
- Returnsphararchivemeta-data
- Phar::getModified()
- Returnwhetherpharwasmodified
- Phar::getPath()
- GettherealpathtothePhararchiveondisk
- Phar::getSignature()
- ReturnMD5/SHA1/SHA256/SHA512/OpenSSLsignatureofaPhararchive
- Phar::getStub()
- ReturnthePHPloaderorbootstrapstubofaPhararchive
- Phar::getSupportedCompression()
- Returnarrayofsupportedcompressionalgorithms
- Phar::getSupportedSignatures()
- Returnarrayofsupportedsignaturetypes
- Phar::getVersion()
- ReturnversioninfoofPhararchive
- Phar::hasMetadata()
- Returnswhetherpharhasglobalmeta-data
- Phar::interceptFileFuncs()
- Instructsphartointerceptfopen,file_get_contents,opendir,andallofthestat-relatedfunctions
- Phar::isBuffering()
- UsedtodeterminewhetherPharwriteoperationsarebeingbuffered,orareflushingdirectlytodisk
- Phar::isCompressed()
- ReturnsPhar::GZorPHAR::BZ2iftheentirephararchiveiscompressed(.tar.gz/tar.bzandsoon)
- Phar::isFileFormat()
- Returnstrueifthephararchiveisbasedonthetar/phar/zipfileformatdependingontheparameter
- Phar::isValidPharFilename()
- Returnswhetherthegivenfilenameisavalidpharfilename
- Phar::isWritable()
- Returnstrueifthephararchivecanbemodified
- Phar::loadPhar()
- Loadsanyphararchivewithanalias
- Phar::mapPhar()
- Readsthecurrentlyexecutedfile(aphar)andregistersitsmanifest
- Phar::mount()
- Mountanexternalpathorfiletoavirtuallocationwithinthephararchive
- Phar::mungServer()
- Definesalistofupto4$_SERVERvariablesthatshouldbemodifiedforexecution
- Phar::offsetExists()
- Determineswhetherafileexistsinthephar
- Phar::offsetGet()
- GetsaPharFileInfoobjectforaspecificfile
- Phar::offsetSet()
- Setthecontentsofaninternalfiletothoseofanexternalfile
- Phar::offsetUnset()
- Removeafilefromaphar
- Phar::running()
- ReturnsthefullpathondiskorfullpharURLtothecurrentlyexecutingPhararchive
- Phar::setAlias()
- SetthealiasforthePhararchive
- Phar::setDefaultStub()
- UsedtosetthePHPloaderorbootstrapstubofaPhararchivetothedefaultloader
- Phar::setMetadata()
- Setsphararchivemeta-data
- Phar::setSignatureAlgorithm()
- Setthesignaturealgorithmforapharandapplyit
- Phar::setStub()
- UsedtosetthePHPloaderorbootstrapstubofaPhararchive
- Phar::startBuffering()
- StartbufferingPharwriteoperations,donotmodifythePharobjectondisk
- Phar::stopBuffering()
- StopbufferingwriterequeststothePhararchive,andsavechangestodisk
- Phar::uncompressAllFiles()
- UncompressesallfilesinthecurrentPhararchive
- Phar::unlinkArchive()
- Completelyremoveaphararchivefromdiskandfrommemory
- Phar::webPhar()
- mapPharforweb-basedphars.frontcontrollerforwebapplications