title: ignore_user_abort going for infinite loop[
body: <p>the main intension i am using ignore_user_abort is that m downloading an excel file which contains lot of data and taking more than 10min so in order to let download happen at backend and carry on with other process i am making use of this function
  and as i am using this function first time in order to understand i have written a simple code as follows</p>
  
  <pre><code>ignore_user_abort(true);
  set_time_limit(0);
  
  echo 'Testing connection handling in PHP';
  
  $i=1;
  while($i&lt;5)
  {
      // Did the connection fail?
      if(connection_status() != CONNECTION_NORMAL)
      {   echo "connect lost";
          break;
      }
      else {
          echo "test";
          }
  
  $i++;
  }
  </code></pre>
  
  <p>but when i run this code its going for infinite loop</p>