A simple 'for' loop
for ($i = 0; $i < 10; $i++) { print "$i
\n"; } //end for loop ?>