預(yù)定義常量
下列常量由此擴(kuò)展定義,且僅在此擴(kuò)展編譯入 PHP 或在運(yùn)行時(shí)動(dòng)態(tài)載入時(shí)可用。
-
EXP_GLOB
(int)
-
Indicates that the pattern is a glob-style string pattern.
-
EXP_EXACT
(int)
-
Indicates that the pattern is an exact string.
-
EXP_REGEXP
(int)
-
Indicates that the pattern is a regexp-style string pattern.
-
EXP_EOF
(int)
-
Value, returned by expect_expectl(), when EOF is
reached.
-
EXP_TIMEOUT
(int)
-
Value, returned by expect_expectl() upon timeout of
seconds, specified in value of expect.timeout
-
EXP_FULLBUFFER
(int)
-
Value, returned by expect_expectl() if no pattern have
been matched.