up php ver to 5.4
replace array to 5.4 style