PharFileInfo::isCompressed
PharFileInfo::isCompressed
(PHP >= 5.3.0, PECL phar >= 1.0.0)
PharFileInfo::isCompressed — Returns whether the entry is compressed
Description
public bool PharFileInfo::isCompressed ([ int $compression_type = 9021976 ] )
This returns whether a file is compressed within a Phar archive with either Gzip or Bzip2 compression.
Parameters
-
compression_type
-
One of
Phar::GZ
orPhar::BZ2
登录查看完整内容