"; echo "Model =".$araba["2013"][1]."
"; echo "Model =".$araba["2013"][2]."
";*/ $sonuc=count($araba); echo "sonuç=".$sonuc."
"; foreach ($araba as $key1 => $val1) { echo "$key1 ["; foreach( $val1 as $key2 => $val2) { echo " $key2= $val2"; } echo "]
"; } echo "
"; $dizi=array("ilk","orta","son"); foreach($dizi as $deger) { echo "Dizi Değerleri=".$deger."
"; } $grup1=array("Fenerbahçe","Galatasaray"); $grup2=array("Başakşehir","Adıyaman1954"); $birlestir=array_merge($grup1,$grup2); //echo $birlestir[0]; print_r($birlestir); array_push($birlestir,"Trabzonspor","Bursaspor"); echo "
"; print_r($birlestir); echo "
"; array_shift($birlestir); print_r($birlestir); echo "
"; array_unshift($birlestir,"Erzurumspor","Sivasspor","Göztepe"); print_r($birlestir); echo "
"; $sayilar=array(45,4,85,100,751); echo "Dizideki Sayıların Toplamı=".array_sum($sayilar); echo "
"; if(in_array("Galatasaray",$birlestir)){ echo "Galatasaray var"; }else { echo "Galatasaray yok"; } echo "
"; $sonuc1=array_search('Sivasspor',$birlestir); echo "Sonuç=".$sonuc1; ?>