array_combine
reactphp/promise
Supported Versions: PHP 5, PHP 7, PHP 8
Creates an array by using one array for keys and another for its values
<?php array_combine
(array
$keys
, array
$values
): array