预定义常量
以下常量由本扩展模块定义,因此只有在本扩展模块被编译到
PHP 中,或者在运行时被动态加载后才有效。
-
RUNKIT_IMPORT_FUNCTIONS
(integer)
-
runkit_import() flag indicating
that normal functions should be imported from the
specified file.
-
RUNKIT_IMPORT_CLASS_METHODS
(integer)
-
runkit_import() flag indicating
that class methods should be imported from the
specified file.
-
RUNKIT_IMPORT_CLASS_CONSTS
(integer)
-
runkit_import() 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.
-
RUNKIT_IMPORT_CLASS_PROPS
(integer)
-
runkit_import() flag indicating
that class standard properties should be imported
from the specified file.
-
RUNKIT_IMPORT_CLASSES
(integer)
-
runkit_import() flag representing
a bitwise OR of the RUNKIT_IMPORT_CLASS_*
constants.
-
RUNKIT_IMPORT_OVERRIDE
(integer)
-
runkit_import() 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.
-
RUNKIT_ACC_PUBLIC
(integer)
-
PHP 5 specific flag to runkit_method_add()
-
RUNKIT_ACC_PROTECTED
(integer)
-
PHP 5 specific flag to runkit_method_add()
-
RUNKIT_ACC_PRIVATE
(integer)
-
PHP 5 specific flag to runkit_method_add()
-
CLASSKIT_ACC_PUBLIC
(integer)
-
PHP 5 specific flag to classkit_method_add()
Only defined when classkit compatibility is enabled.
-
CLASSKIT_ACC_PROTECTED
(integer)
-
PHP 5 specific flag to classkit_method_add()
Only defined when classkit compatibility is enabled.
-
CLASSKIT_ACC_PRIVATE
(integer)
-
PHP 5 specific flag to classkit_method_add()
Only defined when classkit compatibility is enabled.
-
CLASSKIT_AGGREGATE_OVERRIDE
(integer)
-
PHP 5 specific flag to classkit_import()
Only defined when classkit compatibility is enabled.
-
RUNKIT_VERSION
(string)
-
Defined to the current version of the runkit package.
-
CLASSKIT_VERSION
(string)
-
Defined to the current version of the runkit package.
Only defined when classkit compatibility is enabled.