Hi!
About a year ago Facebook has published the initial version of the PHP
Specification. Since then, I've been slowly working through it in order
to bring it in sync with PHP 5.6, fix typos, improve language, etc. Now
I believe this work is mostly complete, at least for the 5.6 part (the
master still has some pieces missing). So I would like everybody to take
a look at it, good starting point being:
https://github.com/php/php-langspec/blob/PHP-5.6/spec/00-specification-for-php.md
and report any problems you see as described in
https://github.com/php/php-langspec/blob/PHP-5.6/README.md or even
better, as pull requests.
Two things that I'd also like to have some help with are:
-
Grammar. Right now the grammar description is kind of complex and I'm
not sure if it's entirely correct. Some syntax constraints are
definitely not represented in the grammar. I'd like more eyes on this. -
Compliance tests - I don't think they cover all the 5.6 features,
especially newer ones, so more attention to this area would also help.
In the meantime, I plan also to bring the master branch into sync with
7.0, I'll send another email when that's done.
Stas Malyshev
smalyshev@gmail.com