$array->[1][2] = 'the value'; ... sometime later $array->[1][2][3] = 'the value';