add support for PHP 5.3

Not everyone has hosting with PHP 5.4