私はJsonを初めて使用しますが、Google画像APIで機能する方法を適用しましたが、Google CSEで使用するのと同じ方法でしょうか?
$url ="https://www.googleapis.com/customsearch/v1?key=WHATEVER&cx=017728263617760474213:e_b2kmmuyco&q=standard%20form";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_REFERER, "http://localhost/GSearch2.php");
$body = curl_exec($ch);
curl_close($ch);
$json = json_decode($body);
print_r($json->items);
結果もエラーも表示されません