fix code style php5.4 syntax