PHTML parse is a library that parses HTML pages with embedded PHP or ASP code in them. It splits them into chunks of pure html and pure script (also separating out comments and strigs within the PHP). The primary value in it is that it is quite difficult to work out the rules that PHP uses to do this parsing and I've done that work for you.

If you think this homepage should be better, then please submit a new one as a "feature request" bug against the package