On 22 Jul 2014, at 20:50, Sara Golemon <poll...@php.net> wrote: > To that end, we (as in Facebook), have been putting together a formal > language spec for PHP (using PHP 5.6 as the source of truth) along > with an additional conformance test suite (which compliments > Zend/tests). We've talked to some engine folks along the way to get > feedback and make version 1 as good as it can be, and we're really > close to releasing it (aiming for next week). Note that this document > only covers the language syntax and not the standard runtime library. > > This document is meant for PHP, and PHP should be the steward of it > going forward, so we (as in PHP) should start looking at good ways to > keep it up to date and revise it over time. As a sneak-peak, uploaded > a very small section so that you get an idea for what the > document looks like overall. > > http://dl.hhvm.com/resources/PHPSpec-SneakPeak.pdf
This is awesome! Finally, PHP gets a specification. Good luck documenting PHP’s inconsistent semantics, though. It’ll either be endlessly detailed, or not matching PHP 5.6. To be honest, I think we should probably clean up PHP’s semantics so they can be more clearly specified. -- Andrea Faulds http://ajf.me/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php