Replace [] with array()