Re: PHP Language Specification

From: Date: Tue, 22 Jul 2014 22:37:28 +0000
Subject: Re: PHP Language Specification
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-75907@lists.php.net to get a copy of this message
On 7/22/14, 5:32 PM, Sara Golemon wrote:
On Tue, Jul 22, 2014 at 3:09 PM, Andrea Faulds <ajf@ajf.me> wrote:
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.
200 pages in the draft I have atm... As you suppose, some of that bulk is down to the kinds of things that the Unified Variable Syntax RFC is trying to resolve. On the plus side, the guy who's been writing the spec is insanely detail oriented (and has experience writing language specs), so all those inconsistent semantics are represented. :)
PHP.next seems like a good time to possibly fix a few of those inconsistencies for the sake of a more sane language definition if the BC break is small enough (as the UVS RFC is doing). The big question here, though, is whether, going forward, we'll be able to mentally switch to a "spec first" mentality. If not, the spec will get out of date and become less than useful. I hope we're able to make that transition. Also: zOMG THANK YOU FOR DOING THIS!!! --Larry Garfield

« previous php.internals (#75907) next »