title: php implicit_flush command not working correctly
body: <p>I have been trying to get my server to be able to flush an echo or print after sleeping and have been unsuccessful. Im using PHP 5.3.24 under Windows.  There are literally dozens and dozens of suggestions out there, just about all of which I tried, none of which has worked.  Here is some code that I thought may have worked:</p>
  
  <pre><code>ob_implicit_flush(true);
  ob_end_flush();
  for ($i=0; $i&lt;10; $i++) {
     echo $i.'&lt;br&gt;';
     sleep(1);
  }
  </code></pre>
  
  <p>This code will not do anything for 9 seconds and then output everything.</p>
  
  <p>I have tried:</p>
  
  <p>-outputting over 1000 characters at the top of the page since there was a suggestion that the browser my be caching,</p>
  
  <p>-added header( 'Content-type: text/html; charset=utf-8' ); header("Cache-Control: no-cache, must-revalidate");header ("Pragma: no-cache");</p>
  
  <p>-used flush(); and ob_flush(); commands,</p>
  
  <p>-made output_buffering = Off, zlib.output_compression = Off,  and implicit_flush = Yes (or implicit_flush = On, seen both examples) in the php.ini,</p>
  
  <p>-also tried @ini_set('zlib.output_compression',0); @ini_set('implicit_flush',1); @ob_end_clean(); set_time_limit(0);</p>
  
  <p>Plus others that I am probably forgetting.</p>
  
  <p>Is there something I am missing?  Thanks.</p>