Changed array notation

Holy crap, have I been working in some weird JS/PHP hybrid?