Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:108267 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 1343 invoked from network); 27 Jan 2020 13:23:57 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 27 Jan 2020 13:23:57 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 79BC518050B for ; Mon, 27 Jan 2020 03:34:06 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS15169 209.85.128.0/17 X-Spam-Virus: No X-Envelope-From: Received: from mail-lj1-f172.google.com (mail-lj1-f172.google.com [209.85.208.172]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Mon, 27 Jan 2020 03:34:05 -0800 (PST) Received: by mail-lj1-f172.google.com with SMTP id x14so7887893ljd.13 for ; Mon, 27 Jan 2020 03:34:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=uP/J1tnPNc9O1IfJ4f8XsXtroFv9XBq3QeNjiCoF5sQ=; b=N7sAYOmEJKRPfWaS9zFAUp+0TZJsVXlx2HKOSXrz6dKcDzgqWnt5C/dAKF1xyFaa31 1zYJtZqrolG3NO4df1c4Y3dDX+rY6ipBzNm1w5C1iq8I10KVYeqjgXa95YvlOL/GBrDI Nfcg1hoXe1V+TeK7pSjpF50xodW8+oIS9j5woGmkl9T3tKPTkBjXXoZsE+lM59Bmzz1R xSl0ukzrz7JY+5ZxwcjSyRQ/J/xkGCmmhVH19H8vd0rp2SLxT//qiBnsRzjbtifzHa5t 4qvV7v0QrkYohGOfkGBPfXjRuFkRDD/WqmHeLRHHxeFlA+V4cDNCJVBTWmMUTqZzoDkf t1xA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=uP/J1tnPNc9O1IfJ4f8XsXtroFv9XBq3QeNjiCoF5sQ=; b=som/b9CdaS/L3EhhdlWQBZA8TXyS1DSMG+IkKj/5mYBS0U5LUCML4aYqrm3N/OYaSZ 6i1rTRGCUjlEqM8iHIgQ52vdsKd7OtmotdJamHKufXeDQ6BQgRypUmQoT+elkWPpVpki ElEzRMLHsP3SsG4j4dt/XfKJ9KDF0Ul/8rEIK2iDBYxpHSuxFIBippY4t24Wr3zh0Ldc Q64yoaFv7wBwa0rbacLTZhPUan0+I2Nu7a2asMoMs3QcNYeU5/yS+TeNVFv9MNp6mZux /uCniPOusrbrQrVnm0aUDi8C0IejAxlWtUUecPn/8PrgDR4Yevu58tVSLTjMqYeMa5rW 1Zow== X-Gm-Message-State: APjAAAX/pwYPZrJL1sBJjnecmpFlU/WI6WCfcHpeOma4FzWLBfNrxYec MrHSpJbLZxFqVX65RMe9WuvXspmqxd3kgw5lKC/BeDYr X-Google-Smtp-Source: APXvYqylj9my3Zf3lj78wtQIetxEGQLfDTFWf1h/HlTbwcW1+u8V3iKw1Y+aPsKuruBS7Y9Zug8M01LjfYety9nNIKI= X-Received: by 2002:a2e:93c5:: with SMTP id p5mr9800916ljh.192.1580124843676; Mon, 27 Jan 2020 03:34:03 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Date: Mon, 27 Jan 2020 12:33:47 +0100 Message-ID: To: PHP internals Content-Type: multipart/alternative; boundary="00000000000002180d059d1d7c5c" Subject: Re: [RFC] Variable syntax tweaks From: nikita.ppv@gmail.com (Nikita Popov) --00000000000002180d059d1d7c5c Content-Type: text/plain; charset="UTF-8" On Tue, Jan 7, 2020 at 11:23 AM Nikita Popov wrote: > Hi internals, > > I'd like to propose a small RFC, which addresses a few minor issues that > have not been handled by the original "uniform variable syntax" RFC: > > https://wiki.php.net/rfc/variable_syntax_tweaks > > This is all about edge cases of edge cases, of course. I think the only > part here that is not entirely straightforward and may need some discussion > is how arbitrary expression support for instanceof should be handled. > > Regards, > Nikita > Heads up: I plan to start voting on this RFC tomorrow. Since the original RFC, the syntax for new/instanceof has been changed to use (expr) instead of {expr}, in line with discussion feedback. Nikita --00000000000002180d059d1d7c5c--