I had to massage it quite a bit to get it running on my machine, at all. (Differences in PHP installation?) Looks it was not developed with E_ALL error reporting, too. Fails to track relative links (which lost 90% of the links on the sites I tried). And the final print_f does not work. (printf() does not output arrays) Good concept, but seems to need more work.
Some error trapping on the url would be wonderful. And error trapping on any "missing" components of the URL (host, path, etc) would eliminate most of the warnings generated. (E_ALL is essential during development work; I work as though all warnings are critical errors, but that's me.)
Thanks! Like I say, some good stuff here, just needs more development.