Context :
$a = array('1','2','3');
foreach ($a as $item){
//rest of code
//example file_get_contents(url);
//the script waits for it to be completed before going to the next
}
The above script goes one by one.
My concern is, when a process on a single element takes too long, the remaining elements have to wait to be processed.
Is it possible to do stuff to all array items all at once?