title: New APNS Provider API and PHP
body: <p>I started creating some code based upon <a href="https://stackoverflow.com/questions/11400556/push-notification-in-php">this</a> for sending push notifications from PHP.</p>
  
  <p>However now that I have understood there is a new API which utilizes HTTP/2 and provides feedback in the response, I am trying to figure out what I need to do to get that feedback.</p>
  
  <p>I haven't been able to find any tutorials or sample code to give me direction (I guess because it is so new).</p>
  
  <p>Is it possible to use the <code>stream_socket_client()</code> method of connecting to APNS with the new provider API? How do I get the feedback? All I get back from <code>fwrite($fp, $msg, strlen($msg))</code> right now is a number. For all intents and purposes, you can consider my code the same as the code from <a href="https://stackoverflow.com/questions/11400556/push-notification-in-php">the SO question I based my code on</a></p>
  
  <p>Thanks!</p>