Ian Selby’s Blog: Dynamically Add Functions to PHP Classes

Ian Selby has posted a new tutorial today looking at something that can be very handy in the right situations – dynamically adding new functions to an already defined PHP class.

I’ve gotten a lot of great suggestions for features [for PHP Thumbnailer], and have wanted to add them, but at the same time don’t as [...]