На поведінку цих функцій випливають налаштування в php.ini.
In order to configure expect extension, there are configuration options in the configuration file php.ini.
| Назва | Початково | Де можна змінювати | Журнал змін |
|---|---|---|---|
| expect.timeout | "10" | INI_ALL |
|
| expect.loguser | "1" | INI_ALL |
|
| expect.logfile | "" | INI_ALL |
|
| expect.match_max | "" | INI_ALL |
Тут є коротке пояснення директив конфігурації.
expect.timeout
int
Зауваження: A value of "0" causes the expect_expectl() function to return immediately.
expect.loguser
bool
expect.logfile
string
Зауваження: If this configuration is not empty, the output is written regardless of the value of expect.loguser.
expect.match_max
int