PHP: Pass variables to file_get_contents()
<p>Is there a way to make this possible?</p>

<pre><code>// file.php
echo $foo;
</code></pre>

<p>then in     </p>

<pre><code>// test.php
$foo = 'bar';
echo file_get_contents('file.php');
</code></pre>

<p>The output of test.php should be "bar".</p>
