1
0
mirror of https://github.com/php/doc-en.git synced 2026-03-23 23:32:18 +01:00
Files
archived-doc-en/reference/runkit7/constants.xml

210 lines
6.0 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<appendix xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="runkit7.constants">
&reftitle.constants;
&extension.constants;
<variablelist>
<varlistentry xml:id="constant.runkit7-import-functions">
<term>
<constant>RUNKIT7_IMPORT_FUNCTIONS</constant>
(<type>int</type>)
</term>
<listitem>
<simpara>
<function>runkit7_import</function> flag indicating
that normal functions should be imported from the
specified file.
</simpara>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.runkit7-import-class-methods">
<term>
<constant>RUNKIT7_IMPORT_CLASS_METHODS</constant>
(<type>int</type>)
</term>
<listitem>
<simpara>
<function>runkit7_import</function> flag indicating
that class methods should be imported from the
specified file.
</simpara>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.runkit7-import-class-consts">
<term>
<constant>RUNKIT7_IMPORT_CLASS_CONSTS</constant>
(<type>int</type>)
</term>
<listitem>
<simpara>
<function>runkit7_import</function> flag indicating
that class constants should be imported from the
specified file.
</simpara>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.runkit7-import-class-props">
<term>
<constant>RUNKIT7_IMPORT_CLASS_PROPS</constant>
(<type>int</type>)
</term>
<listitem>
<simpara>
<function>runkit7_import</function> flag indicating
that class standard properties should be imported
from the specified file.
</simpara>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.runkit7-import-class-static-props">
<term>
<constant>RUNKIT7_IMPORT_CLASS_STATIC_PROPS</constant>
(<type>int</type>)
</term>
<listitem>
<simpara>
<function>runkit7_import</function> flag indicating
that class static properties should be imported
from the specified file. Available since Runkit 1.0.1.
</simpara>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.runkit7-import-classes">
<term>
<constant>RUNKIT7_IMPORT_CLASSES</constant>
(<type>int</type>)
</term>
<listitem>
<simpara>
<function>runkit7_import</function> flag representing
a bitwise OR of the <constant>RUNKIT7_IMPORT_CLASS_<replaceable>*</replaceable></constant>
constants.
</simpara>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.runkit7-import-override">
<term>
<constant>RUNKIT7_IMPORT_OVERRIDE</constant>
(<type>int</type>)
</term>
<listitem>
<simpara>
<function>runkit7_import</function> 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.
</simpara>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.runkit7-acc-return-reference">
<term>
<constant>RUNKIT7_ACC_RETURN_REFERENCE</constant>
(<type>int</type>)
</term>
<listitem>
<simpara>
Include this flag to make the function or method being created or redeclared return a reference.
</simpara>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.runkit7-acc-public">
<term>
<constant>RUNKIT7_ACC_PUBLIC</constant>
(<type>int</type>)
</term>
<listitem>
<simpara>
Flag for <function>runkit7_method_add</function> and <function>runkit7_method_redefine</function> to make the method public.
</simpara>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.runkit7-acc-protected">
<term>
<constant>RUNKIT7_ACC_PROTECTED</constant>
(<type>int</type>)
</term>
<listitem>
<simpara>
Flag for <function>runkit7_method_add</function> and <function>runkit7_method_redefine</function> to make the method protected.
</simpara>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.runkit7-acc-private">
<term>
<constant>RUNKIT7_ACC_PRIVATE</constant>
(<type>int</type>)
</term>
<listitem>
<simpara>
Flag for <function>runkit7_method_add</function> and <function>runkit7_method_redefine</function> to make the method private.
</simpara>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.runkit7-acc-static">
<term>
<constant>RUNKIT7_ACC_STATIC</constant>
(<type>int</type>)
</term>
<listitem>
<simpara>
Flag for <function>runkit7_method_add</function> and <function>runkit7_method_redefine</function> to make the method static.
</simpara>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.runkit7-feature-manipulation">
<term>
<constant>RUNKIT7_FEATURE_MANIPULATION</constant>
(<type>int</type>)
</term>
<listitem>
<simpara>
Equal to 1 if runtime manipulation is enabled, and 0 otherwise.
</simpara>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.runkit7-feature-superglobals">
<term>
<constant>RUNKIT7_FEATURE_SUPERGLOBALS</constant>
(<type>int</type>)
</term>
<listitem>
<simpara>
Equal to 1 if custom superglobals are enabled, and 0 otherwise.
</simpara>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.runkit7-feature-sandbox">
<term>
<constant>RUNKIT7_FEATURE_SANDBOX</constant>
(<type>int</type>)
</term>
<listitem>
<simpara>
Always 0, it's impractical to implement the sandbox feature in php 7.
</simpara>
</listitem>
</varlistentry>
</variablelist>
</appendix>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->