Make container compatible with PHP5.3 source code