PHP
The Phar class
The Phar class
(No version information available, might only be in Git)
Introduction
The Phar class provides a high-level interface to accessing and creating phar archives.
Class synopsis
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
[,
array $rewrites
]]]]] )
}
Table of Contents
Content
License.
All information of this service is derived from the free sources and is provided solely in the form of quotations.
This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 142 / 158770431. Delta: 0.03734 с