şuna benzer bir kod

<? 
for ($i=0;$i<10;$i++){

$file = file_get_contents('https://www.r10.net')

echo "<html>";
print_r($file);
echo "</html>";

}
?>

her defasında sonucu yazacak! ekrana arkadaşın verdiği sonuç işe yaradı zaten!