title: Why is the last number (1) printed?
body: <p>The code:</p>
  
  <pre><code>&lt;?php
  $start = 0;
  $stop  = 1;
  $step = ($stop - $start)/10;
  $i = $start + $step;
  while ($i &lt; $stop) {
      echo($i . "&lt;br/&gt;");
      $i += $step;
  }
  ?&gt;
  </code></pre>
  
  <p>The output:</p>
  
  <pre><code>0.1
  0.2
  0.3
  0.4
  0.5
  0.6
  0.7
  0.8
  0.9
  1 &lt;-- notice the 1 printed when it shouldn't
  </code></pre>
  
  <p>Created a <a href="http://phpfiddle.org/main/code/unt-gh7" rel="noreferrer">fiddle</a></p>
  
  <p>One more: if you set <code>$start = 1</code> and <code>$stop = 2</code> it works fine.  </p>
  
  <p>Using: <code>php 5.3.27</code></p>
  
  <p>Why is the <code>1</code> printed?</p>