The runkit7 extension provides means to modify constants, user-defined functions, and user-defined classes. It also provides for custom superglobal variables.
This package is a fork of the » runkit package providing PHP 7 support.