update : 2015.11.03
php.shukuma.com

검색:
 
 
Return version info of Phar archive

Phar::getVersion

(PHP >= 5.3.0, 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.

인수

반환값

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.

참고