(PHP 5 >= 5.3.0, PHP 7, PECL phar >= 1.2.0)
Phar::getSupportedCompression — Return array of supported compression algorithms
final public static Phar::getSupportedCompression ( ) : array
No parameters.
Returns an array containing any of Phar::GZ
or Phar::BZ2
, depending on the availability of the zlib extension or the bz2 extension.
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/phar.getsupportedcompression.php