array_fill_keys
pestphp/pest
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