title: PHP-curl prints result instead of returning it
body: <p>So my problem is that I am sending a <code>curl</code> request to a website and it's always printing the HTML response, for example:</p>
  
  <pre><code>&lt;html&gt;&lt;header&gt;Example&lt;/header&gt;&lt;/html&gt;
  </code></pre>
  
  <p>This is how I executed my curl:</p>
  
  <pre><code>$output = curl_exec($ch)
  </code></pre>
  
  <p>I did not echo out <code>$output</code> but it constantly returns the value over and over again. </p>