a::extract

Extracts a single column from an array

a::extract($array, $key)

Parameters

$array (array)
The source array
$key (string)
The key name of the column to extract

Return values

array
The result array with all values from that column.