Monkey patching in PHP

I haven’t really had the chance or time to play with PHP 5.3 until recently when Ubuntu 10.04 upgraded my local installations and kind of forced me to dive into it a little. And I’m also probably the last person on the planet to notice, but namespaces in PHP 5.3 allow you to monkey-patch core PHP code. What’s monkey patching? So monkey patching is a technique to replace functions at runtime....

June 22, 2010 · 2 min