<?php $array = [ ['id' => 7, 'name' => 'foo'], ['id' => 10, 'name' => 'bar'], ['id' => 15, 'name' => 'baz'], ]; var_export( array_column($array, null, 'id') );
You have javascript disabled. You will not be able to edit any code.