runkit7_method_redefine
PECL runkit7 >= Unknown
runkit7_method_redefine - Dynamically changes the code of the given method
Code Examples
Example #1 runkit7_method_redefine example
Result: Before: foo!
After: bar!