Phar::getSupportedSignatures
Phar::hasMetaData
Phar
PHP Manual

# Phar::getVersion

(PECL phar:1.0.0-1.2.1)

Phar::getVersion — Return version info of Phar archive

### Opis

string Phar::getVersion ( void )

Returns the API version of an opened Phar archive.

### Parametry

### Zwracane wartości

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.

### Patrz także

- Phar::apiVersion()

Phar::getSupportedSignatures
Phar::hasMetaData
Phar
PHP Manual