Function

array_combine

Synopsis

array_combine(mixed, mixed): array

Area
Runtime\PS\Core\Arrays\Sets\array_combineareas

Description

array_combine returns an array keyed by the values of $keys and valued by the values of $values, paired in order; the two must hold the same number of entries.

Usage

$value = array_combine($arguments);
$fn = array_combine(...);

See also