title: continue processing php after sending http response
body: <p>My script is called by server. From server I'll receive <code>ID_OF_MESSAGE</code> and <code>TEXT_OF_MESSAGE</code>. </p>
  
  <p>In my script I'll handle incoming text and generate response with params: <code>ANSWER_TO_ID</code> and <code>RESPONSE_MESSAGE</code>.</p>
  
  <p>The problem is that I'm sending response to incomming <code>"ID_OF_MESSAGE"</code>, but server which send me message to handle will set his message as delivered to me (It means I can send him response to that ID), after receiving http response 200. </p>
  
  <p>One of solution is to save message to database and make some cron which will be running each minute, but I need to generate response message immediately. </p>
  
  <p>Is there some solution how to send to server http response 200 and than continue executing php script?</p>
  
  <p>Thank you a lot</p>