Questions tagged [php-parser]
73 questions
15
votes
2 answers
Limitations of PEG grammar & parser generators?
I was enjoying using YARD a lot:
http://www.ootl.org/yard/
http://code.google.com/p/yardparser/
http://www.codeproject.com/KB/recipes/yard-tokenizer.aspx
I was able to construct fully functional calculator. I'm evaluating YARD to do PHP parser.…

Viet
- 17,944
- 33
- 103
- 135
6
votes
1 answer
Laravel 4 using nikic phpparser : Going out of memory when sending email
Just learned that Laravel using nikic phpparser internally.
I modified my code to sending emails on one of the conditions & it started dying.
The PHP logs showed this :
[Sat Oct 03 21:18:23 2015] [error] [client xx.xx.xx.xx] PHP Fatal
error: …

PlanetUnknown
- 3,956
- 4
- 49
- 67
4
votes
1 answer
How to use PHP-Parser to get the global variables name and change it
I want to use PHP-Parser library to get the global method (_POST, _GET, _REQUEST) to get values in PHP. I'm using PHP-Parser where I want to check the node name if it equal to (_POST, _GET, _REQUEST). I'm still beginner in PHP-Parser and not figure…

user12843894
- 67
- 7
4
votes
2 answers
Convert HTML table rows into PHP array and save it to database?
I'm trying to save a html table rows into php array and then save the array in database.