update : 2015.11.03
php.shukuma.com검색:
|
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 설명
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 인수
반환값Returns value associated with the pattern that was matched.
On failure this function returns:
변경점
예제
Example #1 expect_expectl() example
<?php |