title: php curl_multi_exec current executing curl name
body: <p>Is there a way to find out which curl is being executed by the <code>curl_multi_exec</code> in this function...which is more or less provided on <code>php.net</code> ?</p>
  
  <pre><code>&lt;?php
  ...
  $mh = curl_multi_init();
  
  //add the five handles
  curl_multi_add_handle($mh,$ch1);
  curl_multi_add_handle($mh,$ch2);
  curl_multi_add_handle($mh,$ch3);
  curl_multi_add_handle($mh,$ch4);
  curl_multi_add_handle($mh,$ch5);
  do {
      $mrc = curl_multi_exec($mh, $active);
  } while ($mrc == CURLM_CALL_MULTI_PERFORM);
  
  while ($active &amp;&amp; $mrc == CURLM_OK) {
      if (curl_multi_select($mh) == -1) {
          usleep(1);
      }
      do {
          $mrc = curl_multi_exec($mh, $active);
      } while ($mrc == CURLM_CALL_MULTI_PERFORM);
  }
  ...
  ?&gt;
  </code></pre>