title: PHP Error: Function name must be a string
body: <p>I added the following lines to the top of my PHP code, but it throws an error:</p>
  
  <blockquote>
    <p>Fatal error: Function name must be a string in /home/reg.php on line 2</p>
  </blockquote>
  
  <pre><code>&lt;?php
  if ($_COOKIE('CaptchaResponseValue') == "false")
  {
      header('location:index.php');
      return;
  }
  ?&gt;
  </code></pre>
  
  <p>I tried: <code>$_COOKIE("CaptchaResponseValue")</code>. The cookie is successfully set and is available. Why is it giving me an error when I am using <code>$_COOKIE</code>?</p>