Add helper function (and example) to allow the programmer to dynamically extend a PHP class at runtime.