<?php $a = [ [ 'id' => 123, ], [ 'id' => 124, ], [ 'id' => 125, ] ]; $b = array_map(function($item) { return $item['id']; }, $a); var_dump();
You have javascript disabled. You will not be able to edit any code.