The downloads directory might not up to date. It would make sense to pick up code from the mercurial repository.
Note that the html sections are treated as statements called BodyString, the first one being 'Something<?', the last '<?Something' and the rest '?>Something<?';
Have a look at the test cases to see how it works.
Missing freatures
Here are some items that are currently missing from the parser.
- ASP style tags
- Alternate format for complex statements
- Php 5.3 features are not supported
Examples
There is a limited code formatting tool in th examples directory.