runkit_method_rename

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

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