(PHP 5 >= 5.3.0, PHP 7, PECL phar >= 2.0.0)
The PharData class provides a high-level interface to accessing and creating
non-executable tar and zip archives. Because these archives do not contain
a stub and cannot be executed by the phar extension, it is possible to create
and manipulate regular zip and tar files using the PharData class even if
phar.readonly php.ini setting is 1.
$pathto
[, string|array|null $files = NULL
[, bool $overwrite = FALSE
]] ) : bool$format = 9021976
[, int $compression = 9021976
[, string $extension
]]] ) : PharData$format = 9021976
[, int $compression = 9021976
[, string $extension
]]] ) : Phar$indexfile
[, string $webindexfile
]] ) : string$pathto
[, string|array|null $files = NULL
[, bool $overwrite = FALSE
]] ) : bool$filename
[, bool $executable = TRUE
] ) : bool$alias
[, string $index = "index.php"
[, string $f404
[, array $mimetypes
[, callable $rewrites
]]]]] ) : void