Delicious Bookmark this on Delicious Share on Facebook SlashdotSlashdot It! Digg! Digg



PHP : Function Reference : Phar archive stream and classes : Phar::apiVersion

Phar::apiVersion

Returns the api version ()
string Phar::apiVersion ( )

Return the API version of the phar file format that will be used when creating phars. The Phar extension supports reading API version 1.0.0 or newer.

Parameters

Return Values

The API version string as in "1.0.0".

Examples

Example 1796. A Phar::apiVersion() example

<?php
echo Phar::apiVersion();
?>

The above example will output:

1.0.0


Change Language


Follow Navioo On Twitter
Phar::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
eXTReMe Tracker