runkit7_method_redefine

PECL runkit7 >= Unknown
runkit7_method_redefine - Dynamically changes the code of the given method
Manual
Code Examples

Example #1 runkit7_method_redefine example

Result: Before: foo! After: bar!
PHP Version: