original_string: public static function curlGet($url)
      {   
          $defaults = array(
              CURLOPT_URL => $url,
              //CURLOPT_HEADER => 0,
              CURLOPT_RETURNTRANSFER => TRUE,
              //CURLOPT_TIMEOUT => 4
          );
         
          $ch = curl_init();
          curl_setopt_array($ch, $defaults);
          if( ! $result = curl_exec($ch))
          {
              trigger_error(curl_error($ch));
          }
          curl_close($ch);
          return $result;
      }
code: public static function curlGet($url)
      {   
          $defaults = array(
              CURLOPT_URL => $url,
              //CURLOPT_HEADER => 0,
              CURLOPT_RETURNTRANSFER => TRUE,
              //CURLOPT_TIMEOUT => 4
          );
         
          $ch = curl_init();
          curl_setopt_array($ch, $defaults);
          if( ! $result = curl_exec($ch))
          {
              trigger_error(curl_error($ch));
          }
          curl_close($ch);
          return $result;
      }
code_tokens: public static function curlGet ( $ url ) { $ defaults = array ( CURLOPT_URL => $ url , //CURLOPT_HEADER => 0, CURLOPT_RETURNTRANSFER => TRUE , //CURLOPT_TIMEOUT => 4 ) ; $ ch = curl_init ( ) ; curl_setopt_array ( $ ch , $ defaults ) ; if ( ! $ result = curl_exec ( $ ch ) ) { trigger_error ( curl_error ( $ ch ) ) ; } curl_close ( $ ch ) ; return $ result ; }
docstring: Send a GET requst using cURL
  @param string $url to request
  @param array $get values to send
  @param array $options for cURL
  @return string
docstring_tokens: Send a GET requst using cURL