title: Trigger multiple files from one PHP file
body: <p>The requirement is to run multiple PHP files from one single PHP File without any timeouts, having searched stack overflow the only solution seems to be using EXEC however this is not allowed on my host. </p>
  
  <p>If I run all.php from CLI then it should run 1.php , 2.php and 3.php.</p>
  
  <p>Now normally this would be straight forward and I would just require or include them into all.php however the function names in 1.php , 2.php and 3.php match and I am looking for a solution which runs the file and then forgets about functions, variables or anything else within the file. </p>
  
  <p>Essentially I want 1.php , 2.php , 3.php to run separately and All.php is only needs to trigger these files. </p>
  
  <p>One possible solution in my mind was using curl in all.php to trigger them files, however this would introduce webserver limits and timeouts which I am not looking to deal with.</p>
  
  <p>Thanks for the help guys. 
  Apologies if the question is not very clear. </p>