GoLang Phar::getVersion

request it (197)
GoLang replacement for PHP's Phar::getVersion [edit | history]

Do you know a GoLang replacement for PHP's Phar::getVersion? Write it!

PHP Phar::getVersion

PHP original manual for Phar::getVersion [ show | php.net ]


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

Phar::getVersionReturn version info of Phar archive


public string Phar::getVersion ( void )

Returns the API version of an opened Phar archive.


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