uopz_copy

(PECL uopz >= 1.0.4) Copy a function Closure uopz_copy ( string $class, string $function ) Closure uopz_copy ( string $function ) Copy a function by name Parameters: class The name of the class containing the function to copy function The name of the function Returns: A Closure for the specified function

runkit_method_remove

(PECL runkit >= 0.7.0) Dynamically removes the given method bool runkit_method_remove ( string $classname, string $methodname ) Note: This function cannot be used to manipulate the currently running (or chained) method. Parameters: classname The class in which to remove the method methodname The name of the method to remov

runkit_lint

(PECL runkit >= 0.7.0) Check the PHP syntax of the specified php code bool runkit_lint ( string $code ) The runkit_lint() function performs a syntax (lint) check on the specified php code testing for scripting errors. This is similar to using php -l from the command line except runkit_lint() accepts actual code rather than a filename. Note: Sandbox support (required for runkit_lint(), runkit_lint_file(), and the Runkit

runkit_method_add

(PECL runkit >= 0.7.0) Dynamically adds a new method to a given class bool runkit_method_add ( string $classname, string $methodname, string $args, string $code [, int $flags = RUNKIT_ACC_PUBLIC ] ) Parameters: classname The class to which this method will be added methodname The name of the method to add args

runkit_method_copy

(PECL runkit >= 0.7.0) Copies a method from class to another bool runkit_method_copy ( string $dClass, string $dMethod, string $sClass [, string $sMethod ] ) Parameters: dClass Destination class for copied method dMethod Destination method name sClass Source class of the method to copy

runkit_lint_file

(PECL runkit >= 0.7.0) Check the PHP syntax of the specified file bool runkit_lint_file ( string $filename ) The runkit_lint_file() function performs a syntax (lint) check on the specified filename testing for scripting errors. This is similar to using php -l from the commandline. Note: Sandbox support (required for runkit_lint(), runkit_lint_file(), and the Runkit_Sandbox class) is only available as of PHP 5.1.0 or sp

runkit_method_redefine

(PECL runkit >= 0.7.0) Dynamically changes the code of the given method bool runkit_method_redefine ( string $classname, string $methodname, string $args, string $code [, int $flags = RUNKIT_ACC_PUBLIC ] ) Note: This function cannot be used to manipulate the currently running (or chained) method. Parameters: classname The class in which to redefine the meth

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

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