Using nested for loop to assign value to two dimensional array
for $outerloop (0..4) { for $innerloop (0..4) { $array[$outerloop][$innerloop] = 1; } } print $array[0][0];