Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<ogg://Security>
^Supported Protocols and WrappersLast updated: Mon, 26 Oct 2026

expect://

expect:// — Process Interaction Streams

Description

Streams opened via the expect:// wrapper provide access to process's stdin, stdout and stderr via PTY.

Note: This wrapper is not enabled by default

In order to use the expect:// wrapper, the » Expect extension available from » PECL must be installed.

expect:// (PECL)

Usage

  • expect://command

Options

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


<ogg://Security>
^Supported Protocols and WrappersLast updated: Mon, 26 Oct 2026