Use array dereferencing, simpler code. Previously avoided to keep functional on php from 5.3->5.4. Our minimum requirements have risen.