I have been giving a PHP program to work on. However, this program has been worked on for years by several diffrent people. Things have been removed and added over time. But most of the files are still there.
I was wondering is there is a tool out there that can analyze a PHP program. feed it index.php for example and this tool will check and see witch files are called and used so i can remove all the dead wood that is no longer beeing used.
I was planning on writing it myself, but someone else might already have done something like this.