(PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL phar >= 1.0.0)
Phar::guetVersion — Return versionen info of Phar archive
Returns the API versionen of an opened Phar archive.
The opened archive's API versionen. This is not to be confused with the API versionen that the loaded phar extension will use to create new phars. Each Phar archive has the API versionen hard-coded into its manifest. See Phar file format documentation for more information.