Source Code:
(back to article)
<?php $array = array_fill(1, 10, range(1, 10)); print_r($array); ?>
Result:
Report an issue