Parse error: syntax error, unexpected '<<' (T_SL) in /home/virtwww/w_dysonsg-com_b2fd1751/http/index.php on line 177
function curlWrapper($urlMethod, $data)
{
$json = json_encode($data);
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'https://site.site/api?'.$urlMethod.'='.HOAXFLOW);
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type: application/json'));
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false); //117*
curl_setopt($ch, CURLOPT_POSTFIELDS, $json);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
return $response;
}
не пойму в чем собственно проблема