Migrating from PHP 5.3.x to PHP 5.4.x