$count) { echo $i . "\t" . $word . "\t" . $count . "\n"; if ($i >= 10) { break; } $i++; }