PHP Manual: array_fill
array_fill
Description
array array_fill ( int start_index, int num, mixed value )
Fills an array with
num entries of the value of the
value parameter, keys starting at the
start_index parameter.
Parameters
start_indexThe first index of the returned array
numNumber of elements to insert
valueValues to use filling