JavaScript Editor Javascript debugger     Website design 

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 O.13. Wrapper Summary

Restricted by allow_url_fopenNo
Allows ReadingYes
Allows WritingYes
Allows AppendingYes
Allows Simultaneous Reading and WritingNo
Supports stat()No
Supports unlink()No
Supports rename()No
Supports mkdir()No
Supports rmdir()No