|
PharData::__construct(PHP >= 5.3.0, PECL phar >= 2.0.0) PharData::__construct — Construct a non-executable tar or zip archive object Описание
PharData::__construct
( string $fname
[, int $flags
[, string $alias
[, int $format = Phar::TAR
]]] )
Список параметров
ОшибкиThrows BadMethodCallException if called twice; UnexpectedValueException if the Phar archive can't be opened. Примеры
Пример #1 A PharData::__construct() example
<?php |
|