<!DOCTYPE html>
<html>
<body>
<?php
for($i = 0; $i < 10; $i += 2):
echo "$i <br>";
endfor;
?>
</body>
</html>