Search Results
Returns whether phar extension supports compression using either zlib or bzip2
Phar::canCompress 26 déc. 2018 20 fois (PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL phar >= 1.0.0) Phar::canCompress — Détermine si l'extension phar supporte une la compression en utilisant soit zip soit bzip2
2 days ago · Phar::canCompress — Returns whether phar extension supports compression using either zlib or bzip2 Phar::canWrite — Returns whether phar extension supports writing and creating phars
For tar-based and phar-based phar archives, this method compresses the entire archive using gzip compression or bzip2 compression. The resulting file can be processed with the gunzip command/bunzip command, or accessed directly and transparently with the Phar extension. For Zip-based phar archives, this method fails with an exception.
(PHP >= 5.3.0, PECL phar >= 1.0.0) Phar::canCompress — Returns whether phar extension supports compression using either zlib or bzip2
(PHP 5 >= 5.3.0, PHP 7, PECL phar >= 1.0.0) Phar::canCompress — Returns whether phar extension supports compression using either zlib or bzip2
People also ask
How do i compress a PHAR file?
How do i compress a PHAR file using zlib & bzip2?
What is the default file extension for Phar?
Note: This method requires the php.ini setting phar.readonly to be set to 0 in order to work for Phar objects. Otherwise, a PharException will be thrown. For tar-based and phar-based phar archives, this method compresses the entire archive using gzip compression or bzip2 compression. The resulting file can be processed with the gunzip command/bunzip command, or accessed directly and ...
