Preparing the parser for a (hopefully) more performant method, even though very memory hungry: token_get_all. It will consume lots of memories :(
Implemented the "fast" parser - initially it looked very good as the php parse function got the file within 100ms. The real parsing still takes 15seconds! This goes down to the processing of over 400.000 items via a complex model of functions and subfunctions.

If i rewrite everything in one algorithm it should process faster hopefully. Right now we saved 20% by a 200% increase of memory usage...