Re: PHP Language Specification

From: Date: Tue, 22 Jul 2014 22:09:40 +0000
Subject: Re: PHP Language Specification
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-75898@lists.php.net to get a copy of this message
On 22 Jul 2014, at 20:50, Sara Golemon <pollita@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/

« previous php.internals (#75898) next »