我的输入数组:
Array
(
[0] => Array
(
[id] => 1
[status_name] => Released
)
[1] => Array
(
[id] => 2
[status_name] => Under Construction
)
) 我想要输出结果:
Array (
[1] => Released
[2] => Under Construction
)
使用子数组 id 作为输出数组键值,使用 status_name 作为值数组。