expect_expectlWaits until the output from a process matches one of the patterns, a specified time period has passed, or an EOF is seen Description
int expect_expectl
( resource
$expect
, array $cases
[, array &$match
] )Waits until the output from a process matches one of the patterns, a specified time period has passed, or an EOF is seen.
If Parameters
Return ValuesReturns value associated with the pattern that was matched.
On failure this function returns:
Changelog
Examples
Example #1 expect_expectl example
<?php See Also
|