| PHP_Archive |
| [ class tree: PHP_Archive ] [ index: PHP_Archive ] [ all elements ] |
|
Packages: PHP_Archive Classes: Files: |
[ Top ] $defaultphp = array(
|
| Type: | mixed |
[line 175]
| Type: | mixed |
[line 179]
| Type: | mixed |
[line 62]
| Type: | resource|null |
[line 53]
Length of current file in the phar| Type: | string |
[line 66]
| Type: | int |
|
|
| string | $path | — | directory name |
|
| string | $path | — |
|
| string | $phar | — | full path to Phar archive, or alias |
| string | $file | — | relative path to file within Phar archive |
|
| string | $phar | — | full path to Phar archive, or alias |
|
Possible parameters are phar://pharname.phar/filename_within_phar.ext
| string | $file | — | a file within the archive |
|
| string | $file | — | phar package to load |
| string | $alias | — | alias to use |
|
This function can only be called from the initialization of the .phar itself. Any attempt to call from outside the .phar or to re-alias the .phar will fail as a security measure.
| string | $alias | — | |
| int | $dataoffset | — | the value of __COMPILER_HALT_OFFSET__ |
|
| string | $file | — |
|
| string | $path | — | |
| $allowdirs | — |
|
| string | $file | — | String provided by the Stream wrapper |
|
| int | $count | — |
|
| int | $pos | — | |
| SEEK_SET|SEEK_CUR|SEEK_END | $whence | — |
|
PHP streams API
|
| string | $url | — | |
| int | $flags | — |
|
| string | $file | — | file/directory to stat |