International PHP Conference 2019 - Spring Edition

Phar::getSupportedCompression

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

Phar::getSupportedCompressionReturn array of supported compression algorithms

Description

final public static 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

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top