$newArr = array_reduce($array, function($carry, $item){ $carry[] = [$item[0], $item[2]]; return $carry;});