Find user defined functions and their usage in a massive code base
<p>I'm currently working with an massive PHP codebase, witch is completely undocumented.</p>

<p>Here's the deal. All of the PHP code is included every page call. They build a simple include all kinda function that scan's the directory and includes all PHP files it can find. It works recursively for all the subfolders.</p>

<p>I would like to know what functions are used in what files and from which files those functions came.</p>

<p>I need to know this in order to switch to normale includes. Also it gives me more information about not used functions and files (since it a really old and big codebase, there is a lot of legacy in it).</p>

<p>It there a tool or something for PHP that can check this kind of stuff in a codebase?</p>
