PHP runkit Functions

EditRocket provides the following information on runkit functions in the PHP source code builder.

bool runkit_class_adopt ( string $classname , string $parentname ) -

bool runkit_class_emancipate ( string $classname ) -

bool runkit_constant_add ( string $constname , mixed $value ) -

bool runkit_constant_redefine ( string $constname , mixed $newvalue ) -

bool runkit_constant_remove ( string $constname ) -

bool runkit_function_add ( string $funcname , string $arglist , string $code ) -

bool runkit_function_copy ( string $funcname , string $targetname ) -

bool runkit_function_redefine ( string $funcname , string $arglist , string $code ) -

bool runkit_function_remove ( string $funcname ) -

bool runkit_function_rename ( string $funcname , string $newname ) -

bool runkit_import ( string $filename [, int $flags ] ) -

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.

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.

bool runkit_method_add ( string $classname , string $methodname , string $args , string $code [, int $flags ] ) -

bool runkit_method_copy ( string $dClass , string $dMethod , string $sClass [, string $sMethod ] ) -

bool runkit_method_redefine ( string $classname , string $methodname , string $args , string $code [, int $flags ] ) -

bool runkit_method_remove ( string $classname , string $methodname ) -

bool runkit_method_rename ( string $classname , string $methodname , string $newname ) -

bool runkit_return_value_used ( void ) -

mixed runkit_sandbox_output_handler ( object $sandbox [, mixed $callback ] ) -

array runkit_superglobals ( void ) -