title: Get and return result from php exec
body: <p>Hi I want to run external php script , send paramter like string and get result, array result</p>
  
  <p>my exec is :</p>
  
  <pre><code>exec("php' . 'test.php' ' $test, $retVal);
  </code></pre>
  
  <p>in test php i trying to echo or somethings but it not work </p>
  
  <p>so I want to call php test.php . and get responce true or false with parameters that I send</p>
  
  <p>that script should run in bacgrkound so it have to be shel_exec or exec but it should return string if he got calls by exec</p>