array_fill_keys
reactphp/event-loop
Supported Versions: PHP 5 >= 5.2.0, PHP 7, PHP 8
Fill an array with values, specifying keys
<?php array_fill_keys
(array
$keys
,
mixed $value
): array