Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:76731 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 1655 invoked from network); 20 Aug 2014 13:30:31 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Aug 2014 13:30:31 -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.44 as permitted sender) X-PHP-List-Original-Sender: dragoonis@gmail.com X-Host-Fingerprint: 209.85.216.44 mail-qa0-f44.google.com Received: from [209.85.216.44] ([209.85.216.44:63973] helo=mail-qa0-f44.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 55/24-11231-5F2A4F35 for ; Wed, 20 Aug 2014 09:30:30 -0400 Received: by mail-qa0-f44.google.com with SMTP id f12so6949527qad.31 for ; Wed, 20 Aug 2014 06:30:25 -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=eXSdx3JdHVE7hC2NRJv2e7fm6tPjqUdNGLScfeYwK2E=; b=iGPSKh93nVLTYXx5QY6c6fjaNhpKT1gGxEsAvHaDagpqGeTmWeB4jYnpiTeK3BfgJP fTMUEL8XlyGjm3XsyP8OrRa9bgT/sYVKGSSaXzMqi9kXQErRVjAV1d6I3DxFoKTGC8fl VEWTWb74Gm4w/uEXUnsNjgggU4QsPUW4tNaGHLUHN7XB38yM1gu8f2VJCG2Xebh9w1me lDMpnFxgfECSK5trGpZ69hpwfRRmJd2+K8jx/AhclTSAjWwGLfXkzE3IrTH8ta8kjyyu SJquMM4IkJSKTL8DxiQWSGLwWQSCeG/FLlMfpx5Ln7A/OiTjd506OF9v+nyDte5M+h62 NkRg== MIME-Version: 1.0 X-Received: by 10.224.223.199 with SMTP id il7mr63301765qab.10.1408541425633; Wed, 20 Aug 2014 06:30:25 -0700 (PDT) Received: by 10.229.97.71 with HTTP; Wed, 20 Aug 2014 06:30:25 -0700 (PDT) In-Reply-To: References: Date: Wed, 20 Aug 2014 14:30:25 +0100 Message-ID: To: Andi Gutmans Cc: Nikita Popov , PHP internals Content-Type: multipart/alternative; boundary=001a11c22d8a539d6005010f9bce Subject: Re: [PHP-DEV] [VOTE] Abstract Syntax Tree From: dragoonis@gmail.com (Paul Dragoonis) --001a11c22d8a539d6005010f9bce Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Tue, Aug 19, 2014 at 3:32 AM, Andi Gutmans wrote: > Hi Nikita, > > I reviewed the AST RFC on my way to vote but there was something that > wasn=E2=80=99t clear to me. > This patch introduces some semantic/behavioral changes in addition to the > AST. > Are these as a side-effect of how AST was implemented? Or are they > unrelated to the AST patch? > I think some of them make sense but I=E2=80=99m having a bit of a hard ti= me > separating out the benefits of the AST (which I really like) and making > other changes to semantics w/o really understanding if they are > side-effects and we have no choice vs. we=E2=80=99re trying to solve for = two > separate items in one RFC. > Any BC breaks here we think could bite us? > 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 > > Any insight would be much appreciated. > Thanks! > Andi > > On Aug 18, 2014, at 9:41 AM, Nikita Popov wrote: > > > Hi internals! > > > > I've opened the vote on the Abstract Syntax Tree RFC: > > > > https://wiki.php.net/rfc/abstract_syntax_tree#vote > > > > Thanks, > > Nikita > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --001a11c22d8a539d6005010f9bce--