On 7/22/14, 5:32 PM, Sara Golemon wrote:
On Tue, Jul 22, 2014 at 3:09 PM, Andrea Faulds <a...@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
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php