Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<Resource TypesExamples>
^ExpectLast updated: Mon, 26 Oct 2026

Predefined Constants

The constants below are defined by this extension, and will only be available when the extension has either been compiled into PHP or dynamically loaded at runtime.

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.


<Resource TypesExamples>
^ExpectLast updated: Mon, 26 Oct 2026