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

[email protected] (Paul Dragoonis)
Newsgroups php.internals
Message-ID <CAKxcST9EFTbwpNZ1WVLXaiBgAiEM+nsh+uPKUV45zxf4H-uZfg@mail.gmail.com>
On Wed, Aug 20, 2014 at 2:57 PM, Nikita Popov <[email protected]> wrote:

> 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.
>

I will get back to you with some specific use cases that I see could be
potentially problematic and non-intuitive.


>
>
> 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.