avoid [] php syntax