Php/docs/intro.classkit
From Get docs
These functions allow the dynamic manipulation of PHP classes, at runtime.
Note:
This extension has been replaced by runkit, which is not limited to class manipulation but has function manipulation, as well.