I am using Symfony2 with twig in it and I have large files (>100MB), which I want to parse and write some information from it into the HTML page. If I use my own Twig extension I get a memory exhaustion error. So is there a way to parse txt file straight from the twig file?
small file example:
1
003.00 001.00
000.00 005.00
result in HTML:
3+x+5xy