title: set_time_limit is not working as expected?
body: <pre><code>&lt;?php
  set_time_limit(4);
  echo  ini_get('max_execution_time'); // give value as 4
  while ($i&lt;=10) 
  {
      echo "i=$i ";
      sleep(1);
      $i++;
  }
  </code></pre>
  
  <p>output: 4i= i=1 i=2 i=3 i=4 i=5 i=6 i=7 i=8 i=9 i=10</p>
  
  <p>Expected behaviour: It should end its execution after 4 seconds.</p>
  
  <p>Please explain ?</p>