Batch include files while keeping the namespace clean
<p>I've been using the following snippet to include multiple files:</p>

<pre><code>foreach(glob(APP_PATH."libs/*.php") as $path)
{
 include $path;
}
</code></pre>

<p>The thing is, I don't want to have the $path variable available inside the included files.</p>

<hr>

<p><em>Fictitious solution:</em></p>

<pre><code>include unset($path);
</code></pre>

<p>This would have worked if unset returned the value of the unsetted variable. It doesn't though. It returns void.</p>
