Category Archives: PHP [gw]

PHP grammar notes

I’m refining an ANTLR grammar to parse PHP, which runs into the issue that (so far as I can determine) there’s no formal definition of the PHP language, other than just what the Zend PHP engine accepts. There is documentation at php.net, which is a great help, but is often not complete, and sometimes muddles […]