# Where I can find the official PHP5 grammar/specification?

- Thread: https://externals.io/message/42370
- Original archive: https://news-web.php.net/php.internals/42370
- Started by Juan Kinunt on 2008-12-23T18:52:12+00:00
- Messages: 2
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #42370 — Juan Kinunt — 2008-12-23T18:52:12+00:00

URL: https://externals.io/message/42370#42370

Hi!
I'm looking for the PHP 5 grammar specification. I'm studying the
possibility of implementing an abstract interpretation tool with flex/bison
in order to find security vulnerabilities (Injection vulnerabilities, XSS)
in the code in a static manner. I know Pixy but I would like to study
another possibility.
Where I can find the grammar? What do you think about this idea?

---

## #42371 — Igor Feghali — 2008-12-24T10:46:34+00:00

URL: https://externals.io/message/42370#42371 · In reply to: #42370

Hello Juan,


> Where I can find the grammar?

http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_language_parser.y?view=markup ?

Regards,
Igor Feghali.
