Phar::addFromString—Addafilefromastringtothephararchive Phar::apiVersion—Returnstheapiversion Phar::
Phar::addEmptyDir (Unknown) Phar::addEmptyDir—Addanemptydirectorytothephararchive Description publicvoidPhar
Phar::addFile (Unknown) Phar::addFile—Addafilefromthefilesystemtothephararchive Description publicvoidPhar
Phar::addFromString (Unknown) Phar::addFromString—Addafilefromastringtothephararchive Description publicvoidPhar
Phar::apiVersion (PHP>=5.3.0,PECLphar>=1.0.0) Phar::apiVersion—Returnstheapiversion Description finalpublicstaticstringPhar
Phar::buildFromDirectory (PHP>=5.3.0,PECLphar>=2.0.0) Phar::buildFromDirectory—Constructaphararchivefromthefileswithinadirectory
Phar::buildFromIterator (PHP>=5.3.0,PECLphar>=2.0.0) Phar::buildFromIterator—Constructaphararchivefromaniterator
Phar::canCompress (PHP>=5.3.0,PECLphar>=1.0.0) Phar::canCompress—Returnswhetherpharextensionsupportscompressionusingeitherzliborbzip2
Phar::canWrite (PHP>=5.3.0,PECLphar>=1.0.0) Phar::canWrite—Returnswhetherpharextensionsupportswritingandcreatingphars
Phar::compress (PHP>=5.3.0,PECLphar>=2.0.0) Phar::compress—CompressestheentirePhararchiveusingGziporBzip2compression
Phar::compressAllFilesGZ (PHP>=5.3.0,PECLphar>=1.0.0) Phar::compressAllFilesGZ—CompressesallfilesinthecurrentPhararchiveusingGzipcompression
Phar::compressFiles (PHP>=5.3.0,PECLphar>=2.0.0) Phar::compressFiles—CompressesallfilesinthecurrentPhararchive
Phar::convertToData (PHP>=5.3.0,PECLphar>=2.0.0) Phar::convertToData—Convertaphararchivetoanon-executabletarorzipfile
,thedefaultextensionsare.phar.tar,.phar.tar.gz,and.phar.tar.bz2.Forzip-basedphararchives,thedefaultextensionis.phar.zip
Phar::copy (PHP>=5.3.0,PECLphar>=2.0.0) Phar::copy—Copyafileinternaltothephararchivetoanothernewfilewithinthephar
Phar::count (PHP>=5.3.0,PECLphar>=1.0.0) Phar::count—Returnsthenumberofentries(files)inthePhararchive
Phar::createDefaultStub (Unknown) Phar::createDefaultStub—Createaphar-fileformatspecificstub Description
Phar::decompress (PHP>=5.3.0,PECLphar>=2.0.0) Phar::decompress—DecompressestheentirePhararchive Description
Phar::decompressFiles (PHP>=5.3.0,PECLphar>=2.0.0) Phar::decompressFiles—DecompressesallfilesinthecurrentPhararchive
Phar::delete (PHP>=5.3.0,PECLphar>=2.0.0) Phar::delete—Deleteafilewithinaphararchive Description publicboolPhar