PHP check which directory/ php scripts are loaded
<p>Is there anyway for this PHP script to know what are the scripts or directories that are currently loaded? I am talking about my scripts, not specific module</p>

<p>The reason I ask this is because, due to the layers and layers of <code>include</code>s ( now don't get me started on what <code>include</code> or <code>include_once</code> is bad), and due to <a href="http://www.dreamincode.net/forums/blog/martyr2/index.php?showentry=549" rel="nofollow">autoloading</a>, it's kind of difficult to see which PHP scripts can be called because they have been loaded, or which can't be called.</p>

<p>So it would be good if I can just <code>var_dump</code> a list of directories or PHP scripts that are already loaded.</p>
