|
PharFileInfo::__construct(PHP >= 5.3.0, PECL phar >= 1.0.0) PharFileInfo::__construct — Construct a Phar entry object Описание
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. Примеры
Пример #1 A PharFileInfo::__construct() example
<?php Результат выполнения данного примера: line number 1: hi line number 2: there line number 3: dude line number 1: hi line number 2: there line number 3: dude |
|