(Информация о версии неизвестна, возможно, только в SVN)
Введение
The Phar class provides a high-level interface to accessing and creating
phar archives.
Обзор классов
void addFile
(
string $file
[,
string $localname
] )
object compress
(
int $compression
[,
string $extension
] )
__construct
(
string $fname
[,
int $flags
[,
string $alias
]] )
PharData convertToData
([
int $format
= 9021976
[,
int $compression
= 9021976
[,
string $extension
]]] )
Phar convertToExecutable
([
int $format
= 9021976
[,
int $compression
= 9021976
[,
string $extension
]]] )
bool copy
(
string $oldfile
,
string $newfile
)
bool extractTo
(
string $pathto
[,
string|array $files
[,
bool $overwrite
= false
]] )
bool loadPhar
(
string $filename
[,
string $alias
] )
bool mapPhar
([
string $alias
[,
int $dataoffset
= 0
]] )
void mount
(
string $pharpath
,
string $externalpath
)
void offsetSet
(
string $offset
,
string $value
)
string running
([
bool $retphar
= true
] )
void webPhar
([
string $alias
[,
string $index
= "index.php"
[,
string $f404
[,
array $mimetypes
[,
callable $rewrites
]]]]] )
}