Function

array_column

Synopsis

array_column(mixed, mixed, mixed ...): mixed

Area
Runtime\PS\Core\Arrays\array_columnareas

Description

array_column returns the $column_key value of every row of $array, keyed by each row's $index_key when the call passes one; a null $column_key selects the whole row and it skips rows missing the column.

Usage

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

See also