title: Call to undefined function from another php file
body: <p>Alright this is what my code looks like </p>
  
  <p><strong>index.php</strong></p>
  
  <pre><code>require_once($WebsiteRoot . "/include/testfile.php");
  TestFunction();
  </code></pre>
  
  <p><strong>/include/testfile.php</strong></p>
  
  <pre><code>function TestFunction()
  {
      echo "It Works";
  }
  </code></pre>
  
  <p><strong>And it gives me the error:</strong></p>
  
  <pre><code>Fatal error:
  Call to undefined function TestFunction() in /path/index.php on line 49
  </code></pre>
  
  <p>Any idea what i'm doing wrong?
  Thanks</p>