(PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL phar >= 1.0.0)
The Phar class provides a high-level interface to accessing and creating phar archives.
$filename, int $flags = FilesystemIterator::SKIP_DOTS | FilesystemIterator::UNIX_PATHS, ?string $alias = null)$format = null, ?int $compression = null, ?string $extension = null): ?PharData$format = null, ?int $compression = null, ?string $extension = null): ?Phar$alias = null,$index = null,$fileNotFoundScript = null,$mimeTypes = [],$rewrite = null| Версія | Опис |
|---|---|
| 8.4.0 | Added support for the Unix timestamp extension for Zip-based archives. |