PHP配列array_column

多次元配列から特定の列の値を抽出します。

構文

array_column(array $array, int|string|null $column): array