<?php
function curlMulti($nodes)
{
    $curlArr = array();
    $master = curl_multi_init();
    $i = 0;

    $options = array(
        CURLOPT_RETURNTRANSFER => true,
        CURLOPT_HEADER => false,
        CURLOPT_CUSTOMREQUEST => 'GET',
        CURLOPT_FOLLOWLOCATION => true,
        CURLOPT_ENCODING => "",
        CURLOPT_CONNECTTIMEOUT => 10,
        CURLOPT_TIMEOUT => 10,
        CURLOPT_SSL_VERIFYHOST => 0,
        CURLOPT_SSL_VERIFYPEER => false,
        CURL_HTTP_VERSION_1_1 => 1
    );

    foreach ($nodes as $key => $url) {     //set options for each node
        $curlArr[$i] = curl_init();
        curl_setopt($curlArr[$i], CURLOPT_URL, $url);
        curl_setopt_array($curlArr[$i], $options);
        curl_multi_add_handle($master, $curlArr[$i]);
        $i++;
    }

    $running = null;

    do {                                //call nodes in parallel; sleep to release memory
        curl_multi_exec($master, $running);
        usleep(1);
    } while ($running > 0);

    $i = 0;
    $response = array();
    $results = array();

    foreach ($nodes as $key => $value) {   //iterate nodes to get response detail
        $response['body'] = curl_multi_getcontent($curlArr[$i]);
        $tmpArr = curl_getinfo($curlArr[$i]);
        $response['httpCode'] = $tmpArr['http_code'];

        curl_multi_remove_handle($master, $curlArr[$i]);
        curl_close($curlArr[$i]);
        
        echo "\n" . $tmpArr['url'] . ": time taken=> " . $tmpArr['total_time'] . "s http code=> " . $tmpArr['http_code'] . " size=> " . $tmpArr['size_download'] . "b connect_time=> " . $tmpArr['connect_time'] . "s namelookup_time=> " . $tmpArr['namelookup_time'] . "s";

        $results[$key] = $response;
        $i++;
    }

    curl_multi_close($master);
    
    return $results;
}

$nodes = array('https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
 
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com', 
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com', 
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com', 
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com', 
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com',
  'https://www.google.co.in',
 'https://in.yahoo.com',
  'http://www.rediff.com', 
  'http://www.bing.com/', 
  'https://wordpress.com'
  
  );
$timeStart = microtime(true);
$response = curlMulti($nodes);
$timeEnd = microtime(true);
$time = $timeEnd - $timeStart;
echo "\nTotal $time s taken to get response from " . count($nodes) . " nodes\n"; ?> 