<!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="pthreads.configuration.html">Runtime Configuration</a></div> <div class="next" style="text-align: right; float: right;"><a href="class.threaded.html">Threaded</a></div> <div class="up"><a href="book.pthreads.html">pthreads</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="pthreads.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> <p class="para"> <dl> <dt id="constant.pthreads-inherit-all"> <strong><code>PTHREADS_INHERIT_ALL</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </dt> <dd> <span class="simpara"> The default options for all Threads, causes pthreads to copy the environment when new Threads are started </span> </dd> <dt id="constant.pthreads-inherit-none"> <strong><code>PTHREADS_INHERIT_NONE</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </dt> <dd> <span class="simpara"> Do not inherit anything when new Threads are started </span> </dd> <dt id="constant.pthreads-inherit-ini"> <strong><code>PTHREADS_INHERIT_INI</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </dt> <dd> <span class="simpara"> Inherit INI entries when new Threads are started </span> </dd> <dt id="constant.pthreads-inherit-constants"> <strong><code>PTHREADS_INHERIT_CONSTANTS</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </dt> <dd> <span class="simpara"> Inherit user declared constants when new Threads are started </span> </dd> <dt id="constant.pthreads-inherit-classes"> <strong><code>PTHREADS_INHERIT_CLASSES</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </dt> <dd> <span class="simpara"> Inherit user declared classes when new Threads are started </span> </dd> <dt id="constant.pthreads-inherit-functions"> <strong><code>PTHREADS_INHERIT_FUNCTIONS</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </dt> <dd> <span class="simpara"> Inherit user declared functions when new Threads are started </span> </dd> <dt id="constant.pthreads-inherit-includes"> <strong><code>PTHREADS_INHERIT_INCLUDES</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </dt> <dd> <span class="simpara"> Inherit included file information when new Threads are started </span> </dd> <dt id="constant.pthreads-inherit-comments"> <strong><code>PTHREADS_INHERIT_COMMENTS</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </dt> <dd> <span class="simpara"> Inherit all comments when new Threads are started </span> </dd> <dt id="constant.pthreads-allow-headers"> <strong><code>PTHREADS_ALLOW_HEADERS</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </dt> <dd> <span class="simpara"> Allow new Threads to send headers to standard output (normally prohibited) </span> </dd> </dl> </p> </div> <hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="pthreads.configuration.html">Runtime Configuration</a></div> <div class="next" style="text-align: right; float: right;"><a href="class.threaded.html">Threaded</a></div> <div class="up"><a href="book.pthreads.html">pthreads</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>