title: Simple for loop not working
body: <p>I've just started learning programming. I'm studying for loops but
  this program does not work as expected. I want to break the loop when
  <code>$a</code> is equal to <code>3</code> so that I get the output <code>1 2</code> but I get <code>3</code> as output :(</p>
  
  <pre><code>for($a=0;$a&lt;10;++$a)
  {
         if($a==3)
                 break
         print"$a ";
  }
  </code></pre>
  
  <p>Please help.</p>