title: PHP register_shutdown_function on IIS 8.5 firing on same request
body: <p>I am running into a few issues with getting some code run in the background on windows. I am trying to run a large processing request (sending emails) in the background and I am using the following </p>
  
  <pre><code> register_shutdown_function(array(__CLASS__, "consume_on_shutdown"));
  </code></pre>
  
  <p>to start the process once the request is done. This works well on my Mac but when I try and do it on windows it executes immediately on the same request so it hangs for ages. Has anyone run into issues similar?</p>