|
Phar::mapPhar
Reads the currently executed file (a phar) and registers its manifest
()
This static method can only be used inside a Phar archive's loader stub in order to initialize the phar when it is directly executed, or when it is included in another script. Errors/Exceptions
ExamplesExample 1807. A Phar::mapPhar() examplemapPhar should be used only inside a phar's loader stub. Use loadPhar to load an external phar into memory. Here is a sample Phar loader stub that uses mapPhar. <?php
See Also
|
Change LanguagePhar::apiVersion Phar::canCompress Phar::canWrite Phar->compressAllFilesBZIP2 Phar->compressAllFilesGZ Phar::__construct Phar->count Phar->getMetaData Phar->getModified Phar->getSignature Phar->getStub Phar->getVersion Phar->isBuffering Phar::loadPhar Phar::mapPhar Phar::offsetExists Phar::offsetGet Phar::offsetSet Phar::offsetUnset Phar->setMetaData Phar->setStub Phar->startBuffering Phar->stopBuffering Phar->uncompressAllFiles PharFileInfo->chmod PharFileInfo::__construct PharFileInfo->getCompressedSize PharFileInfo->getCRC32 PharFileInfo->getMetaData PharFileInfo->getPharFlags PharFileInfo->isCompressed PharFileInfo->isCompressedBZIP2 PharFileInfo->isCompressedGZ PharFileInfo->isCRCChecked PharFileInfo->setCompressedBZIP2 PharFileInfo->setCompressedGZ PharFileInfo->setMetaData PharFileInfo->setUncompressed |