title: Getting : Fatal error while I am trying to use the declare(strict_types=1) on my PHP file
body: <p>I have created a php test script <strong>test.php</strong> with the following code :</p>
  
  <pre><code>&lt;?php
  declare(strict_types=1);
  
  function sum(int $a, int $b) : int {
        return $a + $b ;
  }
  
  print(sum(2, 3));
  </code></pre>
  
  <p>Then when I try to run it, I am getting this fatal error:</p>
  
  <pre><code>Fatal error: strict_types declaration must be the very first statement in the script in C:\wamp\www\test.php on line 2
  </code></pre>
  
  <p>I am using PHP 7.2.4 on Wampserver 3.1.3 and I am accessing the script through my browser.</p>