|
PharData::__constructConstruct a non-executable tar or zip archive object Description
PharData::__construct
( string
$fname
[, int $flags
[, string $alias
[, int $format = Phar::TAR
]]] )Parameters
Errors/ExceptionsThrows BadMethodCallException if called twice; UnexpectedValueException if the Phar archive can't be opened. Examples
Example #1 A PharData::__construct example
<?php |