Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:76732 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 4103 invoked from network); 20 Aug 2014 13:58:00 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Aug 2014 13:58:00 -0000 Authentication-Results: pb1.pair.com header.from=nikita.ppv@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=nikita.ppv@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.219.53 as permitted sender) X-PHP-List-Original-Sender: nikita.ppv@gmail.com X-Host-Fingerprint: 209.85.219.53 mail-oa0-f53.google.com Received: from [209.85.219.53] ([209.85.219.53:57120] helo=mail-oa0-f53.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D9/84-11231-769A4F35 for ; Wed, 20 Aug 2014 09:57:59 -0400 Received: by mail-oa0-f53.google.com with SMTP id j17so6464913oag.12 for ; Wed, 20 Aug 2014 06:57:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=YVqXw4o18MF0GPA6kBJWhmg5lXoqYu4eY23XItm842w=; b=UPrz5CHmgAjQjGkrMGKFR/0ShAf9pKlkKUcf2Y9S+UAAtSHVJj39c7rEWyLBAE09Hq p7BoYqwjkXD/M0EmgGnU6fvIiM352gusaPscB0WDCD8vXUl4mQhIT3XcPh3DRgn3blJJ GtJmTEybcnAZcaH3a29d7iCmlNSFbJkkqBTu0FGiewrpS1Nup86BJON/FtibMYluS/Ga 0V/ai25ETnUUI4KGHhwNJ0fqvhxBtowkJ9UFzZqmP+9z9nYu+z/TGS5i4n+i+I2SeQ8x 5vSMpnYSQE+ndSNDwroh+arR69a8dBoVwelecCYvYr7RtdYv4x+B9K1RV+ybgwCsK4ML SKog== MIME-Version: 1.0 X-Received: by 10.60.103.195 with SMTP id fy3mr50140288oeb.35.1408543076378; Wed, 20 Aug 2014 06:57:56 -0700 (PDT) Received: by 10.182.65.229 with HTTP; Wed, 20 Aug 2014 06:57:56 -0700 (PDT) In-Reply-To: References: Date: Wed, 20 Aug 2014 15:57:56 +0200 Message-ID: To: Paul Dragoonis Cc: Andi Gutmans , PHP internals Content-Type: multipart/alternative; boundary=089e01182c0ab7eede05010ffd5e Subject: Re: [PHP-DEV] [VOTE] Abstract Syntax Tree From: nikita.ppv@gmail.com (Nikita Popov) --089e01182c0ab7eede05010ffd5e Content-Type: text/plain; charset=UTF-8 On Wed, Aug 20, 2014 at 3:30 PM, Paul Dragoonis 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 --089e01182c0ab7eede05010ffd5e--