|
PHP5中文手册
Phar::__construct(PECL phar:1.0.0-1.2.1) Phar::__construct — Construct a Phar archive object 说明
void Phar::__construct
( string $fname
[, int $flags
[, string $alias
]] )
参数
错误/异常Throws BadMethodCallException if called twice, UnexpectedValueException if the phar archive can't be opened. 范例
Example#1 A Phar::__construct() example
<?php |