<?php
for ($i=1; $i<=10; $i++) {  // For başlar
echo "$i<br>";
} // For biter
?>

3 üncü argümanda = bu işaret olmaz....

$i++ diye yazabilirsin.