$arr = [ ['name' => '网三', 'age' => 33], ['name' => '谢四', 'age' => 22], ['name' => '赵六', 'age' => 33], ['name' => '赵1', 'age' => 23], ['name' => '赵8', 'age' => 13], ]; $result = array_column($arr, 'age'); var_dump($result);