PHP 5.3 to PHP 5.4 fixes.