PHP Manual
Prev | Appendix M. List of Supported Protocols/Wrappers | Next

# Process Interaction Streams

`expect://` PHP 4.3.0 and up (PECL)

- `expect://command`

> This wrapper is not enabled by default: In order to use the `expect://` wrapper you must install the Expect extension available from PECL.

Streams opened via the `expect://` wrapper provide access to process'es stdio, stdout and stderr via PTY.

Table M-12. Wrapper Summary

Attribute | Supported
--- | ---
Restricted by allow_url_fopen. | No
Allows Reading | Yes
Allows Writing | Yes
Allows Appending | Yes
Allows Simultaneous Reading and Writing | No
Supports stat() | No
Supports unlink() | No
Supports rename() | No
Supports mkdir() | No
Supports rmdir() | No

Prev | Home | Next
Audio Streams | Up | List of Available Filters