This loop won't echo my string
<p>I have an infinite loop that I want to sleep for a second but the browser just hangs and nothing echos. Can someone tell me why?</p>

<pre><code>while(1)
{
    sleep(1);
    echo 'test'.'&lt;br&gt;';
}
</code></pre>
