PharFileInfo::setUncompressed

(PHP >= 5.3.0, PECL phar >= 1.0.0) Uncompresses the current Phar entry within the phar, if it is compressed public bool PharFileInfo::setUncompressed ( void ) Note: This method has been removed from the phar extension as of version 2.0.0. Alternative implementations are available using PharFileInfo::isCompressed(), PharFileInfo::decompress(), and PharFileInfo::compress(). This method decompresses the file inside the

PharFileInfo::setCompressedGZ

(PHP >= 5.3.0, PECL phar >= 1.0.0) Compresses the current Phar entry within the phar using gz compression public bool PharFileInfo::setCompressedGZ ( void ) Note: This method has been removed from the phar extension as of version 2.0.0. Alternative implementations are available using PharFileInfo::isCompressed(), PharFileInfo::decompress(), and PharFileInfo::compress(). This method compresses the file inside the Pha

PharFileInfo::setMetadata

(PHP >= 5.3.0, PECL phar >= 1.0.0) Sets file-specific meta-data saved with a file public void PharFileInfo::setMetadata ( mixed $metadata ) PharFileInfo::setMetadata() should only be used to store customized data in a file that cannot be represented with existing information stored with a file. Meta-data can significantly slow down the performance of loading a phar archive if the data is large, or if there are many fi

PharFileInfo::setCompressedBZIP2

(PHP >= 5.3.0, PECL phar >= 1.0.0) Compresses the current Phar entry within the phar using Bzip2 compression public bool PharFileInfo::setCompressedBZIP2 ( void ) Note: This method has been removed from the phar extension as of version 2.0.0. Alternative implementations are available using PharFileInfo::isCompressed(), PharFileInfo::decompress(), and PharFileInfo::compress(). This method compresses the file inside t

PharFileInfo::isCompressedBZIP2

(PHP >= 5.3.0, PECL phar >= 1.0.0) Returns whether the entry is compressed using bzip2 public bool PharFileInfo::isCompressedBZIP2 ( void ) Note: This method has been removed from the phar extension as of version 2.0.0. Alternative implementations are available using PharFileInfo::isCompressed(), PharFileInfo::decompress(), and PharFileInfo::compress(). This returns whether a file is compressed within a Phar archive

PharFileInfo::isCompressedGZ

(PHP >= 5.3.0, PECL phar >= 1.0.0) Returns whether the entry is compressed using gz public bool PharFileInfo::isCompressedGZ ( void ) Note: This method has been removed from the phar extension as of version 2.0.0. Alternative implementations are available using PharFileInfo::isCompressed(), PharFileInfo::decompress(), and PharFileInfo::compress(). This returns whether a file is compressed within a Phar archive with

PharFileInfo::getMetadata

(PHP >= 5.3.0, PECL phar >= 1.0.0) Returns file-specific meta-data saved with a file public mixed PharFileInfo::getMetadata ( void ) Return meta-data that was saved in the Phar archive's manifest for this file. Returns: any PHP variable that can be serialized and is stored as meta-data for the file, or NULL if no meta-data is stored. Examples

PharFileInfo::isCRCChecked

(PHP >= 5.3.0, PECL phar >= 1.0.0) Returns whether file entry has had its CRC verified public bool PharFileInfo::isCRCChecked ( void ) This returns whether a file within a Phar archive has had its CRC verified. Returns: TRUE if the file has had its CRC verified, FALSE if not. Examples: A PharFileInfo::isCRCChecked() example

PharFileInfo::isCompressed

(PHP >= 5.3.0, PECL phar >= 1.0.0) Returns whether the entry is compressed 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 or Phar::BZ2, defaults to any compression. Ret

PharFileInfo::hasMetadata

(PHP >= 5.3.0, PECL phar >= 1.2.0) Returns the metadata of the entry public bool PharFileInfo::hasMetadata ( void ) Returns the metadata of a file within a phar archive. Returns: Returns FALSE if no metadata is set or is NULL, TRUE if metadata is not NULL See also: PharFileInfo::setMetadata() -