array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'tr', ), 'this' => array ( 0 => 'phar.getsupportedcompression.php', 1 => 'Phar::getSupportedCompression', ), 'up' => array ( 0 => 'class.phar.php', 1 => 'Phar', ), 'prev' => array ( 0 => 'phar.getstub.php', 1 => 'Phar::getStub', ), 'next' => array ( 0 => 'phar.getsupportedsignatures.php', 1 => 'Phar::getSupportedSignatures', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/phar/Phar/getSupportedCompression.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL phar >= 1.2.0)
Phar::getSupportedCompression — Return array of supported compression algorithms
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.