Php/docs/phar.getsupportedcompression

来自菜鸟教程
跳转至:导航、​搜索

Phar::getSupportedCompression

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

Phar::getSupportedCompressionReturn 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.


参见