title: HTTP Yield Response - is this technically possible?
body: <p>Is this technically possible to make Response Generator by using PHP, AJAX, JS?</p>
  
  <p>For example:</p>
  
  <pre><code>// php
  foreach(range(0,1000,100) as $range) {
      yieldResponse('My range is: $range &lt;br&gt;');
      sleep(1);
  }
  </code></pre>
  
  <p>Browser user would see this response:</p>
  
  <pre><code>My range is: 0
  </code></pre>
  
  <p>After 1 second:</p>
  
  <pre><code>My range is: 0
  My range is: 100
  </code></pre>
  
  <p>After 5 seconds:</p>
  
  <pre><code>My range is: 0
  My range is: 100
  My range is: 200
  My range is: 300
  My range is: 400
  My range is: 500
  </code></pre>
  
  <p>In other words:</p>
  
  <p>Is this possible to send parts of responses in loop before end of php script and without stop this scripts?</p>