Include Tree

This script will recusively parse a directory tree and all PHP files in it, creating a forward and backwards mapping array of all required/included files.

It will also try to normalize all the paths, complete with define() substitutions.