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_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_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_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_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_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_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_remove

(PECL runkit >= 0.7.0) Remove a function definition bool runkit_function_remove ( string $funcname ) 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 Name of function to be deleted

runkit_function_rename

(PECL runkit >= 0.7.0) Change a function's name bool runkit_function_rename ( string $funcname, string $newname ) 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 Current function name

runkit_import

(PECL runkit >= 0.7.0) Process a PHP file importing function and class definitions, overwriting where appropriate bool runkit_import ( string $filename [, int $flags = RUNKIT_IMPORT_CLASS_METHODS ] ) Similar to include however any code residing outside of a function or class is simply ignored. Additionally, depending on the value of flags, any functions or classes which already exist in the currently running environmen