Page 1 of 1
PHP Grammar
Posted: Sun Jul 05, 2009 1:58 pm
by SidewinderX
Is there a defined (EBNF) grammar for PHP? Can't seem to find one.
Re: PHP Grammar
Posted: Sun Jul 05, 2009 2:37 pm
by McInfo
http://www.icosaedro.it/articoli/php-syntax.html
If you don't speak Italian,
run it through Google Translate.
Edit: This post was recovered from search engine cache.
Re: PHP Grammar
Posted: Sun Jul 05, 2009 2:46 pm
by prometheuzz
Note that although there is an ISO for EBNF notation somewhere, there are many variations. That said, this:
http://www.phpcompiler.org/doc/latest/g ... ct-grammar looks like EBNF-ish to me...