title: eBay API - cURL_multi only returning last itemID
body: <p>I try to make a <code>GetItemTransactions</code> call to the eBay API. The call basically works fine, but returns only the last transaction (<code>itemID</code>).</p>
  
  <p>I think there is an error in my cURL syntax because I use the same URL ($url) and I would appreciate some help. Here is the code:</p>
  
  <pre><code>$mh = curl_multi_init();
  $handles = array();
  
  $i = 0;
  
  $urls = array("https://api.ebay.com/ws/api.dll",
                "https://api.ebay.com/ws/api.dll",
                "https://api.ebay.com/ws/api.dll");
  
  foreach ($urls as $url)
  {
  $handles[$url] = curl_init($url);
  
  curl_setopt($handles[$url], CURLOPT_SSL_VERIFYPEER, 0);
  curl_setopt($handles[$url], CURLOPT_SSL_VERIFYHOST, 0);
  curl_setopt($handles[$url], CURLOPT_HTTPHEADER, $headers);
  curl_setopt($handles[$url], CURLOPT_POST, 1);
  curl_setopt($handles[$url], CURLOPT_POSTFIELDS, $xml_request[$i]);
  curl_setopt($handles[$url], CURLOPT_RETURNTRANSFER, true);
  
  curl_multi_add_handle($mh, $handles[$url]);
  
  $i++;
  
  }
  </code></pre>
  
  <p>The $headers (they are the same anyway) and $xml_request variables are transmitted correctly.  I presume the $handles[$url] gets overwritten because it's the same in each loop?</p>