$page = curl_exec($ch); if(curl_errno($ch) != 0){ return false; } curl_setopt($ch, CURLOPT_URL, ''); $page = curl_exec($ch); curl_close($ch);
↧
Will doing "return" in a function automatically close any cURL connections?
↧