PHP Doku:: Return version info of Phar archive - phar.getversion.html

Verlauf / Chronik / History: (4) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchFunktionsreferenzErweiterungen zur Datenkompression und ArchivierungPharThe Phar classPhar::getVersion

Ein Service von Reinhard Neidl - Webprogrammierung.

The Phar class

<<Phar::getSupportedSignatures

Phar::hasMetaData>>

Phar::getVersion

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

Phar::getVersionReturn version info of Phar archive

Beschreibung

string Phar::getVersion ( void )

Returns the API version of an opened Phar archive.

Parameter-Liste

Rückgabewerte

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.

Siehe auch


Keine BenutzerBeiträge.
- Beiträge aktualisieren...



PHP Powered Diese Seite bei php.net
The PHP manual text and comments are covered by the Creative Commons Attribution 3.0 License © the PHP Documentation Group - Impressum - mail("TO:Reinhard Neidl",...)