Supported Protocols and Wrappers
PHP Manual

phar://

phar://PHP Archive

说明

The phar:// stream wrapper is available since PHP 5.3.0. See Phar stream wrapper for detailed description.

可选项

可选项

Wrapper Summary
Attribute Supported
Restricted by allow_url_fopen No
Restricted by allow_url_include No
Allows Reading Yes
Allows Writing Yes
Allows Appending No
Allows Simultaneous Reading and Writing Yes
Supports stat() Yes
Supports unlink() Yes
Supports rename() Yes
Supports mkdir() Yes
Supports rmdir() Yes

参见


Supported Protocols and Wrappers
PHP Manual