michael Sun Oct 2 03:41:36 2005 EDT
Modified files: /phpdoc/en/appendices wrappers.xml Log: add expect:// wrapper notes http://cvs.php.net/diff.php/phpdoc/en/appendices/wrappers.xml?r1=1.56&r2=1.57&ty=u Index: phpdoc/en/appendices/wrappers.xml diff -u phpdoc/en/appendices/wrappers.xml:1.56 phpdoc/en/appendices/wrappers.xml:1.57 --- phpdoc/en/appendices/wrappers.xml:1.56 Wed Sep 21 14:21:59 2005 +++ phpdoc/en/appendices/wrappers.xml Sun Oct 2 03:41:34 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.56 $ --> +<!-- $Revision: 1.57 $ --> <appendix id="wrappers"> <title>List of Supported Protocols/Wrappers</title> <para> @@ -1209,6 +1209,86 @@ </para> </section> + + <section id="wrappers.expect"> + <title>Process Interaction Streams</title> + <simpara><filename>expect://</filename> PHP 4.3.0 and up (PECL) </simpara> + + <itemizedlist> + <listitem><simpara><filename>expect://command</filename></simpara></listitem> + </itemizedlist> + + <note> + <title>This wrapper is not enabled by default</title> + <simpara> + In order to use the <filename>expect://</filename> wrapper you must install + the <ulink url="&url.pecl.package;expect">Expect</ulink> extension + available from <ulink url="&url.pecl;">PECL</ulink>. + </simpara> + </note> + + <simpara> + Streams opened via the <filename>expect://</filename> wrapper provide + access to process'es stdio, stdout and stderr via PTY. + </simpara> + + <para> + <table> + <title>Wrapper Summary</title> + <tgroup cols="2"> + <thead> + <row> + <entry>Attribute</entry> + <entry>Supported</entry> + </row> + </thead> + <tbody> + <row> + <entry>Restricted by <link linkend="ini.allow-url-fopen">allow_url_fopen</link>.</entry> + <entry>No</entry> + </row> + <row> + <entry>Allows Reading</entry> + <entry>Yes</entry> + </row> + <row> + <entry>Allows Writing</entry> + <entry>Yes</entry> + </row> + <row> + <entry>Allows Appending</entry> + <entry>Yes</entry> + </row> + <row> + <entry>Allows Simultaneous Reading and Writing</entry> + <entry>No</entry> + </row> + <row> + <entry>Supports <function>stat</function></entry> + <entry>No</entry> + </row> + <row> + <entry>Supports <function>unlink</function></entry> + <entry>No</entry> + </row> + <row> + <entry>Supports <function>rename</function></entry> + <entry>No</entry> + </row> + <row> + <entry>Supports <function>mkdir</function></entry> + <entry>No</entry> + </row> + <row> + <entry>Supports <function>rmdir</function></entry> + <entry>No</entry> + </row> + </tbody> + </tgroup> + </table> + </para> + </section> + </appendix> <!-- Keep this comment at the end of the file