kod güzel çalışıyor
ekran görüntüsü


<?php
$kelimeler = array('futbol','haber','oyun');
foreach($kelimeler as $kelime) {
$bul = file_get_contents('http://ajax.googleapis.com/ajax/services/search/web?v=1.0&q='.$kelime);
preg_match('|"estimatedResultCount":"(.*?)"|',$bul,$c);
$index_sayisi = $c[1];
echo $kelime.': toplam <b>'.$index_sayisi.'</b> indexli sayfası var.<br>';
}  
?>
yukardaki kodu php dosyasına atman yeterli başında <?php sonunda ?>
yok diye çalışmamış olabilir.