PHP Archive

glob://
ssh2://
Supported Protocols and Wrappers
PHP Manual

# phar://

phar:// — PHP Archive

### Description

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

### Usage

- phar://

### Options

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

### See Also

- Phar context options

glob://
ssh2://
Supported Protocols and Wrappers
PHP Manual