for ($i = 1; $i <= 20; $i++) { print "I have completed the loop $i times.\n"; }