$arr = [ ['name' => '网三', 'age' => 33], ['name' => '谢四', 'age' => 22], ['name' => '赵六', 'age' => 33], ['name' => '赵1', 'age' => 23], ['name' => '赵8', 'age' => 13], ]; //使得二维数组每个age+1 $result = array_map(function($vo){$vo['age'] += 1; return $vo;},$arr); var_dump($result);