Php for

<?php
 for ($i = 0; $i < 10; $i += 2) {
 echo $i . "<br/>";
 }
 $i = 0;
 for (; $i < 10; $i += 2) {
 echo $i . "<br/>";
 }

$i = 0;
 for (; $i < 10;) {
 echo $i . "<br/>";
 $i += 2;
 }
 $i = 0;
 for (;;) {
 echo $i . "<br/>";
 $i += 2;
 if ($i > 10) {
 break;
 }
 }
 echo $i;
 ?>