PHPCon Poland 2024

expect://

expect://Process Interaction Streams

Descrizione

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

Nota: 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)

Utilizzo

  • expect://command

Opzioni

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

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top