array_fill_keys Fill an array with values, specifying keys Description arrayarray_fill_keys arraykeys mixedvalue array_fill_keys fills an array with the value of the value parameter, using the values of the keys array as keys. <function>array_fill_keys</function> example ]]> $a now is: banana [5] => banana [10] => banana [bar] => banana ) ]]> See also array_fill and array_combine.