array_fill_keys
Fill an array with values, specifying keys
Syntax
array_fill_keys ( array $keys , mixed $value ) : array
Parameters
keys
Array of values that will be used as keys. Illegal values for key will be converted to string.
value
Value to use for filling
Return
Returns the filled array
Examples
Array ( [a] => abc [0] => abc [5] => abc [abc] => abc )