|
PHP5中文手册
PharFileInfo::__construct(PECL phar:1.0.0-1.2.1) PharFileInfo::__construct — Construct a Phar entry object 说明
void PharFileInfo::__construct
( string $entry
)
This should not be called directly. Instead, a PharFileInfo object is initialized by calling Phar::offsetGet() through array access. 参数
错误/异常Throws BadMethodCallException if __construct() is called twice. Throws UnexpectedValueException if the phar URL requested is malformed, the requested phar cannot be opened, or the file can't be found within the phar. 范例
Example#1 A PharFileInfo::__construct() example
<?php 上例将输出:
|