How to increment in php without doing a for loop
<p>Im doing a multi curl in PHP using this code:</p>

<pre><code>$ch1 = curl_init();
$ch2 = curl_init();


// set URL and other appropriate options
curl_setopt($ch1, CURLOPT_URL, 'http://www.example.com/');
curl_setopt($ch1, CURLOPT_HEADER, 0);

curl_setopt($ch2, CURLOPT_URL, 'http://www.example.com/');
curl_setopt($ch2, CURLOPT_HEADER, 0);


//create the multiple cURL handle
$mh = curl_multi_init();

//add the two handles
curl_multi_add_handle($mh,$ch1);
curl_multi_add_handle($mh,$ch2);

$active = null;
//execute the handles
do {
    $mrc = curl_multi_exec($mh, $active);
} while ($mrc == CURLM_CALL_MULTI_PERFORM);

while ($active &amp;&amp; $mrc == CURLM_OK) {
</code></pre>

<p>As you can see in the code Im adding two handles using <code>curl_multi_add_handle</code> to <code>$mh</code> 
Is there anyway to add the handles $ch1 and $ch2 without repeating the code? 
Usually I would do a for loop i++ but that is not an option here. 
So Im looking for something like this:</p>

<pre><code>curl_multi_add_handle($mh,[$ch1,$ch2]); ??
</code></pre>