array_fill is much faster than a while loop