runkit_function_redefine

(PECL runkit >= 0.7.0) Replace a function definition with a new implementation bool runkit_function_redefine ( string $funcname, string $arglist, string $code ) Note: By default, only userspace functions may be removed, renamed, or modified. In order to override internal functions, you must enable the runkit.internal_override setting in php.ini. Parameters: funcname

runkit_function_copy

(PECL runkit >= 0.7.0) Copy a function to a new function name bool runkit_function_copy ( string $funcname, string $targetname ) Parameters: funcname Name of existing function targetname Name of new function to copy definition to Returns: Returns TRUE on success or FALSE on failure.

runkit_function_add

(PECL runkit >= 0.7.0) Add a new function, similar to create_function() bool runkit_function_add ( string $funcname, string $arglist, string $code ) Parameters: funcname Name of function to be created arglist Comma separated argument list code Code making up the function Returns

runkit_constant_remove

(PECL runkit >= 0.7.0) Remove/Delete an already defined constant bool runkit_constant_remove ( string $constname ) Parameters: constname Name of constant to remove. Either a string indicating a global constant, or classname::constname indicating a class constant. Returns: Returns TRUE on success or FALSE on failure.

runkit_constant_redefine

(PECL runkit >= 0.7.0) Redefine an already defined constant bool runkit_constant_redefine ( string $constname, mixed $newvalue ) Parameters: constname Constant to redefine. Either string indicating global constant, or classname::constname indicating class constant. newvalue New value to assign to constant. Returns

runkit_constant_add

(PECL runkit >= 0.7.0) Similar to define(), but allows defining in class definitions as well bool runkit_constant_add ( string $constname, mixed $value ) Parameters: constname Name of constant to declare. Either a string to indicate a global constant, or classname::constname to indicate a class constant. value NULL, Bool, Long, Doubl

runkit_class_emancipate

(PECL runkit >= 0.7.0) Convert an inherited class to a base class, removes any method whose scope is ancestral bool runkit_class_emancipate ( string $classname ) Parameters: classname Name of class to emancipate Returns: Returns TRUE on success or FALSE on failure. Examples: A runk

runkit_class_adopt

(PECL runkit >= 0.7.0) Convert a base class to an inherited class, add ancestral methods when appropriate bool runkit_class_adopt ( string $classname, string $parentname ) Parameters: classname Name of class to be adopted parentname Parent class which child class is extending Returns: Returns TRUE on success

Runkit_Sandbox_Parent

(PECL runkit >= 0.7.0) Runkit Anti-Sandbox Class void Runkit_Sandbox_Parent::__construct ( void ) Instantiating the Runkit_Sandbox_Parent class from within a sandbox environment created from the Runkit_Sandbox class provides some (controlled) means for a sandbox child to access its parent. Note: Sandbox support (required for runkit_lint(), runkit_lint_file(), and the Runkit_Sandbox class) is only available as of PHP 5

Runkit_Sandbox

(PECL runkit >= 0.7.0) Runkit Sandbox Class -- PHP Virtual Machine Instantiating the Runkit_Sandbox class creates a new thread with its own scope and program stack. Using a set of options passed to the constructor, this environment may be restricted to a subset of what the primary interpreter can do and provide a safer environment for executing user supplied code. Note: Sandbox support (required for runkit_lint(), runkit_lint_file(), an