<?php while(1) { print "In loop!\n"; } ?> As "1" also evaluates to true, that loop will continue on forever. <?php for (;;) { print "In loop!\n"; } ?>