a few tests for end of file happening, plus new test case that demonstrates an error!
fix the inline php bug, plus a few other end-of-file (& line) bugs. update README.