Reflection in PHP

Sometimes, it’s useful to set properties within a PHP class, but also return those same properties if perhaps, they’re public so can be accessed…

PEAR shaped!

Pecl extensions, some great, some OK… I was looking to install Pecl_Http on my CentOS box, except this kept throwing errors: root@box [~/tmp]# pecl…

Custom SPL Iterators

Whilst working on a mobile website for Safelite® AutoGlass, I needed to filter out some objects held within an array. This could have simply been hacked…