PHP » GoLang |
login |
register |
about
|
expect_expectl(PECL expect >= 0.1.0) expect_expectl — Waits 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 |
more
Recently updated
more
Most requested
more
Last requests
|