<!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="intro.runkit.html">Introduction</a></div> <div class="next" style="text-align: right; float: right;"><a href="runkit.setup.html">Installing/Configuring</a></div> <div class="up"><a href="book.runkit.html">runkit</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="runkit.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="constant.runkit-import-functions"> <span class="term"> <strong><code>RUNKIT_IMPORT_FUNCTIONS</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> <span class="function"><a href="function.runkit-import.html" class="function">runkit_import()</a></span> flag indicating that normal functions should be imported from the specified file. </span> </dd> </dt> <dt id="constant.runkit-import-class-methods"> <span class="term"> <strong><code>RUNKIT_IMPORT_CLASS_METHODS</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> <span class="function"><a href="function.runkit-import.html" class="function">runkit_import()</a></span> flag indicating that class methods should be imported from the specified file. </span> </dd> </dt> <dt id="constant.runkit-import-class-consts"> <span class="term"> <strong><code>RUNKIT_IMPORT_CLASS_CONSTS</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> <span class="function"><a href="function.runkit-import.html" class="function">runkit_import()</a></span> flag indicating that class constants should be imported from the specified file. Note that this flag is only meaningful in PHP versions 5.1.0 and above. </span> </dd> </dt> <dt id="constant.runkit-import-class-props"> <span class="term"> <strong><code>RUNKIT_IMPORT_CLASS_PROPS</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> <span class="function"><a href="function.runkit-import.html" class="function">runkit_import()</a></span> flag indicating that class standard properties should be imported from the specified file. </span> </dd> </dt> <dt id="constant.runkit-import-classes"> <span class="term"> <strong><code>RUNKIT_IMPORT_CLASSES</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> <span class="function"><a href="function.runkit-import.html" class="function">runkit_import()</a></span> flag representing a bitwise OR of the <strong><code>RUNKIT_IMPORT_CLASS_*</code></strong> constants. </span> </dd> </dt> <dt id="constant.runkit-import-override"> <span class="term"> <strong><code>RUNKIT_IMPORT_OVERRIDE</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> <span class="function"><a href="function.runkit-import.html" class="function">runkit_import()</a></span> flag indicating that if any of the imported functions, methods, constants, or properties already exist, they should be replaced with the new definitions. If this flag is not set, then any imported definitions which already exist will be discarded. </span> </dd> </dt> <dt id="constant.runkit-acc-public"> <span class="term"> <strong><code>RUNKIT_ACC_PUBLIC</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> PHP 5 specific flag to <span class="function"><a href="function.runkit-method-add.html" class="function">runkit_method_add()</a></span> </span> </dd> </dt> <dt id="constant.runkit-acc-protected"> <span class="term"> <strong><code>RUNKIT_ACC_PROTECTED</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> PHP 5 specific flag to <span class="function"><a href="function.runkit-method-add.html" class="function">runkit_method_add()</a></span> </span> </dd> </dt> <dt id="constant.runkit-acc-private"> <span class="term"> <strong><code>RUNKIT_ACC_PRIVATE</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> PHP 5 specific flag to <span class="function"><a href="function.runkit-method-add.html" class="function">runkit_method_add()</a></span> </span> </dd> </dt> <dt> <span class="term"> <strong><code>CLASSKIT_ACC_PUBLIC</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> PHP 5 specific flag to <span class="function"><a href="function.classkit-method-add.html" class="function">classkit_method_add()</a></span> Only defined when classkit compatibility is enabled. </span> </dd> </dt> <dt> <span class="term"> <strong><code>CLASSKIT_ACC_PROTECTED</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> PHP 5 specific flag to <span class="function"><a href="function.classkit-method-add.html" class="function">classkit_method_add()</a></span> Only defined when classkit compatibility is enabled. </span> </dd> </dt> <dt> <span class="term"> <strong><code>CLASSKIT_ACC_PRIVATE</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> PHP 5 specific flag to <span class="function"><a href="function.classkit-method-add.html" class="function">classkit_method_add()</a></span> Only defined when classkit compatibility is enabled. </span> </dd> </dt> <dt> <span class="term"> <strong><code>CLASSKIT_AGGREGATE_OVERRIDE</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> PHP 5 specific flag to <span class="function"><a href="function.classkit-import.html" class="function">classkit_import()</a></span> Only defined when classkit compatibility is enabled. </span> </dd> </dt> <dt id="constant.runkit-version"> <span class="term"> <strong><code>RUNKIT_VERSION</code></strong> (<span class="type"><a href="language.types.string.html" class="type string">string</a></span>) </span> <dd> <span class="simpara"> Defined to the current version of the runkit package. </span> </dd> </dt> <dt> <span class="term"> <strong><code>CLASSKIT_VERSION</code></strong> (<span class="type"><a href="language.types.string.html" class="type string">string</a></span>) </span> <dd> <span class="simpara"> Defined to the current version of the runkit package. Only defined when classkit compatibility is enabled. </span> </dd> </dt> </dl> </div> <hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="intro.runkit.html">Introduction</a></div> <div class="next" style="text-align: right; float: right;"><a href="runkit.setup.html">Installing/Configuring</a></div> <div class="up"><a href="book.runkit.html">runkit</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>