Search Results
Parameters ¶ filename Path to an existing tar/zip archive or to-be-created archive flags Flags to pass to Phar parent class RecursiveDirectoryIterator. alias Alias with which this Phar archive should be referred to in calls to stream functionality. format One of the file format constants available within the Phar class.
PharData::__construct — Construct a non-executable tar or zip archive object
PharData::__construct (PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL phar >= 2.0.0) PharData::__construct — Construct a non-executable tar or zip archive object
Path to an existing tar/zip archive or to-be-created archive
PharData::compress — Compresses the entire tar/zip archive using Gzip or Bzip2 compression PharData::compressFiles — Compresses all files in the current tar/zip archive PharData::__construct — Construct a non-executable tar or zip archive object PharData::convertToData — Convert a phar archive to a non-executable tar or zip file ...
The __construct () method initializes the properties when a new object of the Fruit class is created, using the provided values. The get_details () method is defined to print out the fruit's name and color.
(PHP >= 5.3.0, PECL phar >= 2.0.0) Construct a non-executable tar or zip archive object Phar
