Modified files for PHP5.5 migration.