ALIAS

column()

ShortPHP reference for array_column().

Signature

array_column(array $array, int|string|null $column_key, int|string|null $index_key = null): array

Example

column(...);

PHP equivalent

array_column() is the canonical PHP function. ShortPHP provides column() as the convenience alias.

Extension: Core

Official PHP manual ↗

Reference navigation

Next: filter()

Back to reference