$toplam=0;
foreach($years as $year){
foreach($year as $current){
$toplam+=$current
}
}