The runkit extension for php provides means to modify constants, user-defined functions, and user-defined classes. It also provides for custom superglobal variables and embeddable sub-interpreters via sandboxing. Reproducible: Always Steps to Reproduce:
Created attachment 230543 [details] pecl-runkit-9999.ebuild