Search Results
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.
(PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL phar >= 1.2.0) Phar::getSupportedCompression — Return array of supported compression algorithms
Phar::getSupportedCompression 26 déc. 2018 19 fois (PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL phar >= 1.2.0) Phar::getSupportedCompression — Retourne un tableau des algorithmes de compression supportés
Phar::getSupportedCompression (PHP 5 >= 5.3.0, PHP 7, PECL phar >= 1.2.0) Phar::getSupportedCompression — Return array of supported compression algorithms Description final public static Phar::getSupportedCompression ( ) : array 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 ...
See Also PharFileInfo::getCompressedSize () - Returns the actual size of the file (with compression) inside the Phar archive PharFileInfo::isCompressed () - Returns whether the entry is compressed PharFileInfo::compress () - Compresses the current Phar entry with either zlib or bzip2 compression PharFileInfo::decompress () - Decompresses the current Phar entry within the phar Phar::compress ...
Simple usage example of `Phar::getSupportedCompression ()`. Phar::getSupportedCompression is a PHP function that retrieves an array of the compression algorithms supported by the Phar extension. This function enables developers to determine which compression algorithms can be used when creating or extracting phar archives.
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.
