array_combine()
function array_combine(array $keys, array $values): array
Creates an array by using one array for keys and another for values.
Parameters:
$keys(array)$values(array)
Returns: array
No examples yet — check examples/ and showcases/ for usage patterns.
Internals
For how array_combine is implemented in the compiler, see the internals page.