<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Predefined Constants</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="expect.resources.html">Resource Types</a></div> <div class="next" style="text-align: right; float: right;"><a href="expect.examples.html">Examples</a></div> <div class="up"><a href="book.expect.html">Expect</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="expect.constants" class="appendix"> <h1>Predefined Constants</h1> <p class="simpara"> 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. </p> <dl> <dt id="constants.expect.exp-glob"> <span class="term"> <strong><code>EXP_GLOB</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Indicates that the pattern is a glob-style string pattern. </span> </dd> </dt> <dt id="constants.expect.exp-exact"> <span class="term"> <strong><code>EXP_EXACT</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Indicates that the pattern is an exact string. </span> </dd> </dt> <dt id="constants.expect.exp-regexp"> <span class="term"> <strong><code>EXP_REGEXP</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Indicates that the pattern is a regexp-style string pattern. </span> </dd> </dt> <dt id="constants.expect.exp-eof"> <span class="term"> <strong><code>EXP_EOF</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Value, returned by <span class="function"><a href="function.expect-expectl.html" class="function">expect_expectl()</a></span>, when EOF is reached. </span> </dd> </dt> <dt id="constants.expect.exp-timeout"> <span class="term"> <strong><code>EXP_TIMEOUT</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Value, returned by <span class="function"><a href="function.expect-expectl.html" class="function">expect_expectl()</a></span> upon timeout of seconds, specified in value of <a href="expect.configuration.html#ini.expect.timeout" class="link">expect.timeout</a> </span> </dd> </dt> <dt id="constants.expect.exp-fullbuffer"> <span class="term"> <strong><code>EXP_FULLBUFFER</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Value, returned by <span class="function"><a href="function.expect-expectl.html" class="function">expect_expectl()</a></span> if no pattern have been matched. </span> </dd> </dt> </dl> </div> <hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="expect.resources.html">Resource Types</a></div> <div class="next" style="text-align: right; float: right;"><a href="expect.examples.html">Examples</a></div> <div class="up"><a href="book.expect.html">Expect</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>