Thanks for your suggestion. I'm not looking for a documenter though, I need an analysis tool; something that will report errors, bad practices, inefficiences, unused variables and functions, etc... From the documentation of PHPXRef, it sounded like a documenter to me.