(PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL phar >= 1.0.0)
Die Klasse Phar bietet ein High-Level-Interface zum Zugreifen auf und Erstellen von Phar-Archiven.
$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| Version | Beschreibung |
|---|---|
| 8.4.0 | Unterstützung für die Unix-Zeitstempel-Erweiterung für Zip-basierte Archive hinzugefügt. |