Function

array_flip

Synopsis

array_flip(mixed): array

Area
Runtime\PS\Core\Arrays\array_flipareas

Description

array_flip returns $array with its keys and values exchanged; it skips a value that is neither an integer nor a string, as in PHP, but without the warning.

Usage

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

See also