Phar::getStub
Phar::getSupportedSignatures
Phar
PHP Manual

# Phar::getSupportedCompression

(PECL phar:1.2.0-1.2.1)

Phar::getSupportedCompression — Return array of supported compression algorithms

### Description

array Phar::getSupportedCompression ( void )

### Parameters

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

- PharFileInfo::getCompressedSize()
- PharFileInfo::isCompressedBZIP2()
- PharFileInfo::isCompressed()
- PharFileInfo::isCompressedGZ()
- PharFileInfo::setCompressedBZIP2()
- PharFileInfo::setUncompressed()
- PharFileInfo::setCompressedGZ()
- Phar::canCompress()
- Phar::isCompressed()
- Phar::compressAllFilesBZIP2()
- Phar::compressAllFilesGZ()
- Phar::convertToPhar()
- Phar::convertToTar()
- Phar::uncompressAllFiles()

Phar::getStub
Phar::getSupportedSignatures
Phar
PHP Manual