Fix PHP 5.2 and 5.3 compability