GoLang Phar::getSupportedCompression

request it (327)
GoLang replacement for PHP's Phar::getSupportedCompression [edit | history]

Do you know a GoLang replacement for PHP's Phar::getSupportedCompression? Write it!

PHP Phar::getSupportedCompression

PHP original manual for Phar::getSupportedCompression [ show | php.net ]


(PHP 5 >= 5.3.0, PHP 7, PECL phar >= 1.2.0)

Phar::getSupportedCompressionReturn array of supported compression algorithms


final public static array Phar::getSupportedCompression ( void )


No parameters.

Return Values

Returns an array containing any of Phar::GZ or Phar::BZ2, depending on the availability of the zlib extension or the bz2 extension.

See Also