title: Fetch all variables from external php file
body: <p>Title is pretty much self explanatory...</p>
  
  <p>Here is my code :</p>
  
  <pre><code>$myVars=file_get_contents('1.php');
  
  highlight_string($myVars);
  
  $ignore=array('GLOBALS', '_FILES', '_COOKIE', '_POST', '_GET', '_SERVER', '_ENV');
  $myVars=array_diff_key(get_defined_vars()+array_flip($ignore),array_flip($ignore));
  
  exit;
  </code></pre>
  
  <p>I'm trying to fetch all variables (except php predefined variables) into an array.</p>
  
  <p>Small tweak needed here :)</p>