Fixed php5.4 syntax