Warning: include_once(/home/theraven/sites/theraven7.com/php/manual/en/toc/class.phar.inc) [function.include-once]: failed to open stream: No such file or directory in /home/theraven/sites/theraven7.com/php/manual/en/phar.getversion.php on line 5

Warning: include_once() [function.include]: Failed opening '/home/theraven/sites/theraven7.com/php/manual/en/toc/class.phar.inc' for inclusion (include_path='.:/usr/local/lib/php:/usr/local/php5/lib/pear') in /home/theraven/sites/theraven7.com/php/manual/en/phar.getversion.php on line 5
PHP: Phar::getVersion - Manual
downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Phar::hasMetadata> <Phar::getSupportedSignatures
[edit] Last updated: Fri, 18 May 2012

view this page in

Phar::getVersion

(PHP >= 5.3.0, PECL phar >= 1.0.0)

Phar::getVersionReturn version info of Phar archive

Description

string Phar::getVersion ( void )

Returns the API version of an opened Phar archive.

Parameters

Return Values

The opened archive's API version. This is not to be confused with the API version that the loaded phar extension will use to create new phars. Each Phar archive has the API version hard-coded into its manifest. See Phar file format documentation for more information.

See Also



add a note add a note User Contributed Notes Phar::getVersion
There are no user contributed notes for this page.

 
show source | credits | sitemap | contact | advertising | mirror sites