alias to include
<p>i have alias to <code>include()</code> in my <code>functions.php</code> file:</p>

<pre><code>function render_template($template)
{
    include($template);
}
</code></pre>

<p>and simple <code>template.html</code> :</p>

<pre><code>Hello, &lt;?php echo $name ?&gt;
</code></pre>

<p>But unfortunately, alias function gave me this output:</p>

<pre><code>require 'functions.php';

$name = "world";

include('template.html');           // Hello, world
render_template('template.html');     // PHP Notice:Undefined variable: name
</code></pre>

<p>why is that? and how i can fix this?</p>

<p>thanks.</p>
