michael Sun Feb 19 15:06:39 2006 UTC
Modified files:
/phpdoc/en/reference/expect/functions expect-expectl.xml
Log:
added documentation of third argument
http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/expect/functions/expect-expectl.xml?r1=1.5&r2=1.6&diff_format=u
Index: phpdoc/en/reference/expect/functions/expect-expectl.xml
diff -u phpdoc/en/reference/expect/functions/expect-expectl.xml:1.5
phpdoc/en/reference/expect/functions/expect-expectl.xml:1.6
--- phpdoc/en/reference/expect/functions/expect-expectl.xml:1.5 Mon Oct 3
15:20:13 2005
+++ phpdoc/en/reference/expect/functions/expect-expectl.xml Sun Feb 19
15:06:39 2006
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
<refentry id="function.expect-expectl">
<refnamediv>
<refname>expect_expectl</refname>
@@ -13,11 +13,16 @@
<type>mixed</type><methodname>expect_expectl</methodname>
<methodparam><type>resource</type><parameter>expect</parameter></methodparam>
<methodparam><type>array</type><parameter>cases</parameter></methodparam>
+ <methodparam><type>string</type><parameter
role="reference">match</parameter></methodparam>
</methodsynopsis>
<para>
Waits until the output from a process matches one of the patterns,
a specified time period has passed, or an EOF is seen.
</para>
+ <para>
+ If <parameter>match</parameter> is provided, then it is filled with the
+ result of search.
+ </para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;