Search Results

  1. Description ¶ public Phar::isCompressed (): int | false 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. Returns Phar::GZ or PHAR::BZ2 if the entire phar archive is compressed (.tar.gz/tar.bz and so on).

  2. Returns Phar::GZ or PHAR::BZ2 if the entire phar archive is compressed (.tar.gz/tar.bz and so on). Zip-based phar archives cannot be compressed as a file, and so this method will always return FALSE if a zip-based phar archive is queried.

  3. 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. Returns Phar::GZ or PHAR::BZ2 if the entire phar archive is compressed (.tar.gz/tar.bz and so on).

  4. 2 days ago · Phar::isCompressed — Returns Phar::GZ or PHAR::BZ2 if the entire phar archive is compressed (.tar.gz/tar.bz and so on) Phar::isFileFormat — Returns true if the phar archive is based on the tar/phar/zip file format depending on the parameter

  5. Simple usage example of `Phar::isCompressed ()`. The `Phar::isCompressed` function is used in PHP to determine whether the entire phar archive is compressed or not. It returns the value `Phar::GZ` if the archive is compressed using gzip (.tar.gz), and `Phar::BZ2` if it is compressed using bzip2 (.tar.bz). This function helps in checking the compression status of a phar archive.

  6. Phar::isCompressed — Returns Phar::GZ or PHAR::BZ2 if the entire phar archive is compressed (.tar.gz/tar.bz and so on) Phar::isFileFormat — Returns true if the phar archive is based on the tar/phar/zip file format depending on the parameter

  7. Returns Phar::GZ or PHAR::BZ2 if the entire phar archive is compressed (.tar.gz/tar.bz and so on). Zip-based phar archives cannot be compressed as a file, and so this method will always return FALSE if a zip-based phar archive is queried.