Implementing #9 PHP 5.3 support