Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:76733 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 5865 invoked from network); 20 Aug 2014 14:03:55 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Aug 2014 14:03:55 -0000 Authentication-Results: pb1.pair.com smtp.mail=dragoonis@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=dragoonis@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.54 as permitted sender) X-PHP-List-Original-Sender: dragoonis@gmail.com X-Host-Fingerprint: 209.85.216.54 mail-qa0-f54.google.com Received: from [209.85.216.54] ([209.85.216.54:65051] helo=mail-qa0-f54.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 51/E4-11231-ACAA4F35 for ; Wed, 20 Aug 2014 10:03:54 -0400 Received: by mail-qa0-f54.google.com with SMTP id k15so7140768qaq.27 for ; Wed, 20 Aug 2014 07:03:51 -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=FKDDBJ7dwIKFKwLFPECa/pEsMLVrL45kqLD0AVbpFqo=; b=Xl2ibRZCPIOp/uVSbaPCo1JAOaBESFIAhsF29i/dRA4aewaH65PmM4LQ8VbpMz2lAa O0PO7rP21ZR/O8vHsqx2/Mpr9Zk/7N1F7alT8fxxC5qqSmyTHMbCDT/achhsov4vFJ/M uYNsz7Kf8xc+Ot1ypIOPm9sGLhUG5B479mBWni2aO+fAt27Hbp2e4eyODOy0wQ/zJ8a8 b4EFyb/5ZTzhJgtx6YseDiRKhcA3bbtN6W0uCGnHIlD07p/+I14fvGlk0/FZ2WWsAUue 5HZ/rxAIfwODrRsKUPDWV1eRtCLl25RnDJ445ysaEJ/kO7PSjA5VvUy8NK6TV7U6/QIA kH2g== MIME-Version: 1.0 X-Received: by 10.224.223.199 with SMTP id il7mr63627506qab.10.1408543431109; Wed, 20 Aug 2014 07:03:51 -0700 (PDT) Received: by 10.229.97.71 with HTTP; Wed, 20 Aug 2014 07:03:51 -0700 (PDT) In-Reply-To: References: Date: Wed, 20 Aug 2014 15:03:51 +0100 Message-ID: To: Nikita Popov Cc: Andi Gutmans , PHP internals Content-Type: multipart/alternative; boundary=001a11c22d8adcce6a050110122c Subject: Re: [PHP-DEV] [VOTE] Abstract Syntax Tree From: dragoonis@gmail.com (Paul Dragoonis) --001a11c22d8adcce6a050110122c Content-Type: text/plain; charset=UTF-8 On Wed, Aug 20, 2014 at 2:57 PM, Nikita Popov wrote: > 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. > I will get back to you with some specific use cases that I see could be potentially problematic and non-intuitive. > > > Nikita > --001a11c22d8adcce6a050110122c--