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

(PECL runkit >= 0.8.0) Determines if the current functions return value will be used bool runkit_return_value_used ( void ) Returns: Returns TRUE if the function's return value is used by the calling scope, otherwise FALSE Examples: runkit_return_value_used() example <?php function foo() {   var_dump(runkit_return_val

runkit_sandbox_output_handler

(PECL runkit >= 0.7.0) Specify a function to capture and/or process output from a runkit sandbox mixed runkit_sandbox_output_handler ( object $sandbox [, mixed $callback ] ) Ordinarily, anything output (such as with echo or print) will be output as though it were printed from the parent's scope. Using runkit_sandbox_output_handler() however, output generated by the sandbox (including errors), can be captured by a functi

runkit_superglobals

(PECL runkit >= 0.7.0) Return numerically indexed array of registered superglobals array runkit_superglobals ( void ) Returns: Returns a numerically indexed array of the currently registered superglobals. i.e. _GET, _POST, _REQUEST, _COOKIE, _SESSION, _SERVER, _ENV, _FILES See also: Variable Scope -