Fixed PHP5.4 syntax