title: Getting "" value in $content while parsing URL using curl
body: <p>Here is my code:</p>
  
  <pre><code>$ch = curl_init($url);
  
  curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
  
  $content = curl_exec($ch);
  
  var_dump ($content);
  </code></pre>
  
  <p>I am getting string (0) as I am echoing the value of <code>$content</code>. Can anybody tell me why this is happening.</p>