title: PHP Processing stream_get_contents into an array
body: <p>I am having troubles converting a string which contains tab delimited CSV output 
  into an array. While using the following code : </p>
  
  <pre><code>$data = stream_get_contents($request-&gt;getShipmentReport());
  </code></pre>
  
  <p>I get back data as following:</p>
  
  <pre><code>Date    Shipped     Comments        Feedback    Arrived on Time
  5/11/15 2       comment         response    Yes 
  </code></pre>
  
  <p>Now I would like to process this data into an array with the returned headers(line 1) as the index containing the value for each line which follows after that. </p>
  
  <p>I am trying to end up with something like this :</p>
  
  <pre><code>$line['Date'] = 5/11/15
  $line['Shipped'] = 2
  $line['Feedback'] = response
  $line['Arrived on Time']  yes
  </code></pre>
  
  <p>What would be the best way to achieve this ?</p>