title: Can I call curl_setopt with CURLOPT_HTTPHEADER multiple times to set multiple headers?
body: <p>Can I call <a href="http://php.net/curl_setopt"><code>curl_setopt</code></a> with <code>CURLOPT_HTTPHEADER</code> multiple times to set multiple headers?</p>
  
  <pre><code>$url = 'http://www.example.com/';
  
  $curlHandle = curl_init($url);
  curl_setopt($curlHandle, CURLOPT_HTTPHEADER, array('Content-type: application/xml'));
  curl_setopt($curlHandle, CURLOPT_HTTPHEADER, array('Authorization: gfhjui'));
  
  $execResult = curl_exec($curlHandle);
  </code></pre>