update : 2015.11.03
php.shukuma.com
실행시 설정
실행시 설정
이 함수의 작동은 php.ini 설정에 영향을
받습니다.
In order to configure expect extension, there are configuration options
in the configuration file php.ini .
PHP_INI_* 모드에 대한 상세와 정의는
Where a configuration setting may be set 를 참고하십시오.
위 설정 지시어에 대한
간단한 설명입니다.
expect.timeout
integer
The timeout period for waiting for the data, when using the
expect_expectl() function.
A value of "-1" disables a timeout from occurring.
Note :
A value of "0" causes the expect_expectl()
function to return immediately.
expect.loguser
boolean
Whether expect should send any output from the spawned process to stdout.
Since interactive programs typically echo their input, this usually suffices
to show both sides of the conversation.
expect.logfile
string
Name of the file, where the output from the spawned process will be
written. If this file doesn't exist, it will be created.
Note :
If this configuration is not empty, the output is written regardless of
the value of expect.loguser .
expect.match_max
integer
Changes default size (2000 bytes) of the buffer used to match asterisks
in patterns.