title: Call function via url in PHP
body: <p><strong>Index.php</strong></p>
  
  <pre><code>&lt;?php include("http://localhost/test/link.php"); ?&gt;
  &lt;!doctype html&gt;
  &lt;html&gt;
  &lt;head&gt;
      &lt;meta charset="utf-8"&gt;
      &lt;title&gt;Untitled Document&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;?php
      echo "ECHOXXX: " . xyz();
  ?&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p><strong>link.php</strong></p>
  
  <pre><code>&lt;?php
      echo "hiii";
      function xyz()
      {
          return "TRUE";
      }
  ?&gt;
  </code></pre>
  
  <p><strong>OUTPUT</strong></p>
  
  <pre><code>hiii
  ( ! ) Fatal error: Uncaught Error: Call to undefined function xyz() in C:\wamp64\www\test\index.php
  on line 13
  ( ! ) Error: Call to undefined function xyz() in C:\wamp64\www\test\index.php on line 13
  Call Stack
  #   Time    Memory  Function    Location
  1   0.0006  410392  {main}( )   ...\index.php:0
  </code></pre>
  
  <p>How can I call that function via URL ? I must use URL here. Because sometime we may fetch data from different server.</p>