array_column can do much more than extracting a single column. Here is what you can do with array_column in PHP