<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/book.runkit7.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'zh',
  ),
  'this' => 
  array (
    0 => 'runkit7.constants.php',
    1 => '预定义常量',
    2 => '预定义常量',
  ),
  'up' => 
  array (
    0 => 'book.runkit7.php',
    1 => 'runkit7',
  ),
  'prev' => 
  array (
    0 => 'runkit7.configuration.php',
    1 => '运行时配置',
  ),
  'next' => 
  array (
    0 => 'ref.runkit7.php',
    1 => 'runkit7 函数',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/runkit7/constants.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="runkit7.constants" class="appendix">
 <h1 class="title">预定义常量</h1>

 <p class="simpara">下列常量由此扩展定义，且仅在此扩展编译入 PHP 或在运行时动态载入时可用。</p>
 <dl>
  
   <dt id="constant.runkit7-import-functions">
    <strong><code><a href="runkit7.constants.php#constant.runkit7-import-functions">RUNKIT7_IMPORT_FUNCTIONS</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
   <span class="simpara">
    <span class="function"><a href="function.runkit7-import.php" class="function">runkit7_import()</a></span> flag indicating
    that normal functions should be imported from the
    specified file.
   </span>
   </dd>
  
  
   <dt id="constant.runkit7-import-class-methods">
    <strong><code><a href="runkit7.constants.php#constant.runkit7-import-class-methods">RUNKIT7_IMPORT_CLASS_METHODS</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    <span class="function"><a href="function.runkit7-import.php" class="function">runkit7_import()</a></span> flag indicating
    that class methods should be imported from the
    specified file.
    </span>
   </dd>
  
  
   <dt id="constant.runkit7-import-class-consts">
    <strong><code><a href="runkit7.constants.php#constant.runkit7-import-class-consts">RUNKIT7_IMPORT_CLASS_CONSTS</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    <span class="function"><a href="function.runkit7-import.php" class="function">runkit7_import()</a></span> flag indicating
    that class constants should be imported from the
    specified file.
    </span>
   </dd>
  
  
   <dt id="constant.runkit7-import-class-props">
    <strong><code><a href="runkit7.constants.php#constant.runkit7-import-class-props">RUNKIT7_IMPORT_CLASS_PROPS</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    <span class="function"><a href="function.runkit7-import.php" class="function">runkit7_import()</a></span> flag indicating
    that class standard properties should be imported
    from the specified file.
    </span>
   </dd>
  
  
   <dt id="constant.runkit7-import-class-static-props">
    <strong><code><a href="runkit7.constants.php#constant.runkit7-import-class-static-props">RUNKIT7_IMPORT_CLASS_STATIC_PROPS</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    <span class="function"><a href="function.runkit7-import.php" class="function">runkit7_import()</a></span> flag indicating
    that class static properties should be imported
    from the specified file. Available since Runkit 1.0.1.
    </span>
   </dd>
  
  
   <dt id="constant.runkit7-import-classes">
    <strong><code><a href="runkit7.constants.php#constant.runkit7-import-classes">RUNKIT7_IMPORT_CLASSES</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    <span class="function"><a href="function.runkit7-import.php" class="function">runkit7_import()</a></span> flag representing
    a bitwise OR of the <strong><code><a href="runkit7.constants.php#constant.runkit7-import-class-methods">RUNKIT7_IMPORT_CLASS_<span class="replaceable">*</span></a></code></strong>
    constants.
    </span>
   </dd>
  
  
   <dt id="constant.runkit7-import-override">
    <strong><code><a href="runkit7.constants.php#constant.runkit7-import-override">RUNKIT7_IMPORT_OVERRIDE</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    <span class="function"><a href="function.runkit7-import.php" class="function">runkit7_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 id="constant.runkit7-acc-return-reference">
    <strong><code><a href="runkit7.constants.php#constant.runkit7-acc-return-reference">RUNKIT7_ACC_RETURN_REFERENCE</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Include this flag to make the function or method being created or redeclared return a reference.
    </span>
   </dd>
  
  
   <dt id="constant.runkit7-acc-public">
    <strong><code><a href="runkit7.constants.php#constant.runkit7-acc-public">RUNKIT7_ACC_PUBLIC</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Flag for <span class="function"><a href="function.runkit7-method-add.php" class="function">runkit7_method_add()</a></span> and <span class="function"><a href="function.runkit7-method-redefine.php" class="function">runkit7_method_redefine()</a></span> to make the method public.
    </span>
   </dd>
  
  
   <dt id="constant.runkit7-acc-protected">
    <strong><code><a href="runkit7.constants.php#constant.runkit7-acc-protected">RUNKIT7_ACC_PROTECTED</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Flag for <span class="function"><a href="function.runkit7-method-add.php" class="function">runkit7_method_add()</a></span> and <span class="function"><a href="function.runkit7-method-redefine.php" class="function">runkit7_method_redefine()</a></span> to make the method protected.
    </span>
   </dd>
  
  
   <dt id="constant.runkit7-acc-private">
    <strong><code><a href="runkit7.constants.php#constant.runkit7-acc-private">RUNKIT7_ACC_PRIVATE</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Flag for <span class="function"><a href="function.runkit7-method-add.php" class="function">runkit7_method_add()</a></span> and <span class="function"><a href="function.runkit7-method-redefine.php" class="function">runkit7_method_redefine()</a></span> to make the method private.
    </span>
   </dd>
  
  
   <dt id="constant.runkit7-acc-static">
    <strong><code><a href="runkit7.constants.php#constant.runkit7-acc-static">RUNKIT7_ACC_STATIC</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Flag for <span class="function"><a href="function.runkit7-method-add.php" class="function">runkit7_method_add()</a></span> and <span class="function"><a href="function.runkit7-method-redefine.php" class="function">runkit7_method_redefine()</a></span> to make the method static.
    </span>
   </dd>
  
  
   <dt id="constant.runkit7-feature-manipulation">
    <strong><code><a href="runkit7.constants.php#constant.runkit7-feature-manipulation">RUNKIT7_FEATURE_MANIPULATION</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
     Equal to 1 if runtime manipulation is enabled, and 0 otherwise.
    </span>
   </dd>
  
  
   <dt id="constant.runkit7-feature-superglobals">
    <strong><code><a href="runkit7.constants.php#constant.runkit7-feature-superglobals">RUNKIT7_FEATURE_SUPERGLOBALS</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
     Equal to 1 if custom superglobals are enabled, and 0 otherwise.
    </span>
   </dd>
  
  
   <dt id="constant.runkit7-feature-sandbox">
    <strong><code><a href="runkit7.constants.php#constant.runkit7-feature-sandbox">RUNKIT7_FEATURE_SANDBOX</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
     Always 0, it&#039;s impractical to implement the sandbox feature in php 7.
    </span>
   </dd>
  
 </dl>
</div>
<?php manual_footer($setup); ?>