- array_column: documentation ( source)
- print_r: documentation ( source)
<?php
$a = array(
array(
'a' => 'x',
'b' => 'asdasd',
),
array(
'a' => 'f',
'b' => '123123qwe',
),
);
$new_array = array_column($a, 'b');
print_r($new_array);