Added support to PHP 5.3 and HHVM