runkit
- Introduction
- Predefined Constants
- Installing/Configuring
- runkit Functions
- Runkit_Sandbox — Runkit Sandbox Class -- PHP Virtual Machine
- Runkit_Sandbox_Parent — Runkit Anti-Sandbox Class
- runkit_class_adopt — Convert a base class to an inherited class, add ancestral methods when appropriate
- runkit_class_emancipate — Convert an inherited class to a base class, removes any method whose scope is ancestral
- runkit_constant_add — Similar to define(), but allows defining in class definitions as well
- runkit_constant_redefine — Redefine an already defined constant
- runkit_constant_remove — Remove/Delete an already defined constant
- runkit_function_add — Add a new function, similar to create_function
- runkit_function_copy — Copy a function to a new function name
- runkit_function_redefine — Replace a function definition with a new implementation
- runkit_function_remove — Remove a function definition
- runkit_function_rename — Change a function's name
- runkit_import — Process a PHP file importing function and class definitions, overwriting where appropriate
- runkit_lint_file — Check the PHP syntax of the specified file
- runkit_lint — Check the PHP syntax of the specified php code
- runkit_method_add — Dynamically adds a new method to a given class
- runkit_method_copy — Copies a method from class to another
- runkit_method_redefine — Dynamically changes the code of the given method
- runkit_method_remove — Dynamically removes the given method
- runkit_method_rename — Dynamically changes the name of the given method
- runkit_return_value_used — Determines if the current functions return value will be used
- runkit_sandbox_output_handler — Specify a function to capture and/or process output from a runkit sandbox
- runkit_superglobals — Return numerically indexed array of registered superglobals
- Alternative PHP Cache
- APCu
- Расширенный отладчик PHP
- PHP bytecode Compiler
- Blenc - BLowfish ENCoder for PHP source scripts
- Обработка и протоколирование ошибок
- htaccess-like support for all SAPIs
- Inclusion hierarchy viewer
- Memtrack
- OPcache
- Управление буфером вывода
- PHP Опции и Информация
- runkit
- Break the silence operator
- uopz
- Weak References
- Windows Cache for PHP
- Hierarchical Profiler
Коментарии
I found that Mr. Dmitry Zenovich (http://ru.linkedin.com/in/zenovich) implemented a new version of the runkit library here http://github.com/zenovich/runkit/.
Thanks to Mr. Zenovich for his effort in maintaining this library.
Some other interesting updated info here:
http://bit.ly/9puHiH
A description of new releases and a bit of documentation can be found here: http://zenovich.blogspot.com/2015/10/runkit-1.0.4.html
You can use this sandbox to make your unit-tests more reliable:
https://github.com/webpackage-pro/PHPUnitSandbox
You can change method result in runtime, with the sandbox.
It supports PHP v5.4 - 7.x and does not required any additional installations on your server