PHP Manual: array_fill_keys
array_fill_keys
(no version information, might be only in CVS)
array_fill_keys -- Fill an array with values, specifying keysDescription
array array_fill_keys ( array keys, mixed value )
Fills an array with the
value of the value parameter, using the
values of the keys array as keys.
Parameters
keysArray of values that will be used as keys
valueEither an string or an array of values