Re: [PHP-DEV] [VOTE] Abstract Syntax Tree

[email protected] (Nikita Popov)
Newsgroups php.internals
Message-ID <CAF+90c-A_QchPFkGCxzCUWbmJMkj_waH-fManrY+M8PKn+PHvA@mail.gmail.com>
On Wed, Aug 20, 2014 at 3:30 PM, Paul Dragoonis <[email protected]> wrote:

> Hi Nikita,
>
> I second some of Andi's concerns about behavioural changes, some things
> working from right-to-left and not left-to-right. Are these things that we
> can adapt the AST part or tweak another part to make this more consistent
> with previous versions of PHP. Improving consistency when changing
> underlying parts is a good migration technique. Facebook done this when
> they implemented HHMV, they didn't fix bugs but made a like-for-like stable
> copy before tackling improvements.
>
> Do you feel it's an important goal to keep consistency from PHP 5.x to PHP
> 7, with regards to the behaviour of syntax parsing/behaviour, or do you
> feel that you can live with these non-BC changes?
>
> Many thanks,
> Paul
>

Is there some *particular* change that concerns you? This is something that
needs to be decided on a case-by-case basis. The RFC contains a list of
changes. All of them are minor adjustments verging on bug fixes, which imho
are all within the bounds of reasonable changes for a major version.
However if you can provide argument why one of the listed changes is
incorrect (as in, introduces less intuitive/consistent/... behavior) or has
larger BC impact than anticipated, then I'm open to discussion that.

Nikita
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.