array_fill_keys()
function array_fill_keys(array $keys, mixed $value): array
Fill an array with values, specifying keys.
Parameters:
$keys(array)$value(mixed)
Returns: array
No examples yet — check examples/ and showcases/ for usage patterns.
Internals
For how array_fill_keys is implemented in the compiler, see the internals page.