title: php buffer doesn't stop after ob_end_clean
body: <p>With the following code I buffer a layout file. 
  On local server is works fine, but on the live server it keep buffering until php gives up. This results in a spinning progressbar and a delayed executing of al the javascript in the page. It looks like ob_end_clean() doensn't really quit the buffering.</p>
  
  <pre><code>ob_start();
  require($layoutfile);
  $return = ob_get_contents();
  ob_end_clean();
  return $return;
  </code></pre>
  
  <p>When I echo a space after flushing the buffers stops and every thing works normal. But in this context I won't print anything to the screen.</p>
  
  <pre><code>ob_start();
  require($layoutfile);
  $return = ob_get_contents();
  if(ob_end_clean()) echo " ";
  return $return;
  </code></pre>
  
  <p>anybody ran into this?</p>