Some Loops

You are browsing from $i1.$i2.$i3.$i4.

Since IP numbers are so confusing, we can use a graphical method to make this clearer.

Here is a histogram of your IP number:

END; echo "
"; $i = $i1; while($i > 0) { echo "
"; --$i; } echo "
"; echo "
"; for($i = 1; $i <= $i2; ++$i) echo "
"; echo "
"; echo "
"; if($i3 >= 1) { do { echo "
"; --$i3; } while($i3 > 0); } echo "
"; // If's and loops have an alternative syntax, using a colon after the // loop header and an end keyword. No brackets are required. echo "
"; for($i = $i4; $i > 0; $i--): echo "
"; endfor; echo "
"; echo "

Isn't that better?

"; if($i1 <= $i4) { echo <<