PharData::decompress

PharData::decompress

(PHP >= 5.3.0, PECL phar >= 2.0.0)

PharData::decompressDecompresses the entire Phar archive

Description

object PharData::decompress ([ string $extension ] )

For tar-based archives, this method decompresses the entire archive.

For Zip-based archives, this method fails with an exception. The zlib extension must be enabled to decompress an archive compressed with gzip compression, and the 登录查看完整内容