(PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL phar >= 1.0.0)
Phar クラスは、phar アーカイブへのアクセスや作成のための高レベルインターフェイスを提供します。
$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$mode = "r", bool $useIncludePath = false, ?resource $context = null): SplFileObject| バージョン | 説明 |
|---|---|
| 8.4.0 | Zip アーカイブの Unix タイムスタンプ拡張のサポートが追加されました。 |