Phar::apiVersion
(PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL phar >= 1.0.0)
Phar::apiVersion — Returns the api version
Description
final public static function Phar::apiVersion():
string
Return Values
The API version string as in "1.0.0".
Examples
Example #1 A Phar::apiVersion() example
<?php
echo Phar::apiVersion();
?>
The above example will output: