title: Executing another PHP file and return the output from a method, is that possible?
body: <p>Suppose if I have a PHP script test.php which have a method </p>
  
  <pre><code>&lt;?php
  function execute($filename){
      //do something
  
      return $output;
  }
  ?&gt; 
  </code></pre>
  
  <p>and I also have another PHP script <code>executable.php</code></p>
  
  <pre><code>&lt;?php 
      echo "I am executed";
  ?&gt;
  </code></pre>
  
  <p>then can i run any code to excute the second file and return the output from the first method <code>execute</code> when i call <code>echo execute('executable.php');</code> ?</p>
  
  <p>I guess you guys can understand what I meant.</p>