Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:125245 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by qa.php.net (Postfix) with ESMTPS id E0F591A00BD for ; Sun, 25 Aug 2024 22:32:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1724625233; bh=ejz0tO/xGAIzdQd7M2THc6MBfaBUNRvYdO4gmOg0ogU=; h=Date:From:To:Subject:In-Reply-To:References:From; b=DJO60fQpJP9UwUWvuZBY/MODkLHMH0Iet6+aaJlXK56Ao33+kKgbcbZW2q9RNdxuK oXu6PE7dQQy70YGh4fI19LlxcHlgLchaZq1zjF2NsnbZLnsfOQWrUVb2gM+tlqhXo3 mGGhMTIBWFw/OBhscd2YRL79z+ppiErf7rSVDRdNm/ZMM6PB6MyS+NjF1G/7jGyCoi aBXP3yMo/00LnlNnUEUfm7F9Jjd527BIf1LHNTRy1AJGYeV4lv8cHO0Dl+tvrxzpMl 8BDNxb9fYtKZJatv2sgaVfsW8QROm3g8GcYSL6v/o3blGSDwd8r+M2xP0srk8T1fEK sGw4QS24d1k5A== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 19590180084 for ; Sun, 25 Aug 2024 22:33:52 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_MISSING,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from fout5-smtp.messagingengine.com (fout5-smtp.messagingengine.com [103.168.172.148]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Sun, 25 Aug 2024 22:33:51 +0000 (UTC) Received: from phl-compute-06.internal (phl-compute-06.nyi.internal [10.202.2.46]) by mailfout.nyi.internal (Postfix) with ESMTP id A47D41388037 for ; Sun, 25 Aug 2024 18:31:58 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-06.internal (MEProxy); Sun, 25 Aug 2024 18:31:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rwec.co.uk; h=cc :content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm1; t=1724625118; x=1724711518; bh=ejz0tO/xGAIzdQd7M2THc6MBfaBUNRvYdO4gmOg0ogU=; b= FPGUaYC+w4H1xa+cOfyTdLDAy2+4rTkgQXgkDpuhq7LhTHa2oejpaXa6CTSHrVsz eiZMPlM0ZxrmR0FmYaHH+V3mdtjEDyNLbvO+MdOEuRO8nBLPHCTyeeaMcxTTehDc IstQns/SyNhoURZC6up2E9i8GGSYenJrVNSIX3nWOOluAMbYF89FWw3npmdMvhjF qBcPRGc4rTMsfWkBfF60oV/EO9MiIFbN0uwPrmMi/uV/MPoQo9tMrgOEygrsFNkM KT7A+cFKD1jFgCyRJihuN14+RwiLyD4c/tp+2EwFg/UB4PWHp4svBftLexNT3xzO bkkJwkWNPfTFJVHfu5hecQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1724625118; x= 1724711518; bh=ejz0tO/xGAIzdQd7M2THc6MBfaBUNRvYdO4gmOg0ogU=; b=Z legq2hyUd8mo+RlU3uwotxINLQwb/Kg7ivPkhrzB1a6tDhW8hWOlDrK/K831lbus yn9ugDz8VO7sSoE1XdrmR7SC88QJj6Q+90IUzxJzWhwzgxgEZVRDq2S29Pjp16xM Yc96DDddwCqALFixBt0SRyh21Uz9fP98EGMMvugVym7sF8fMHiqEtYbPeN7Cf0u4 aNKYfzNiIxAKvJpzSjg+B1U8PtC7gbCgkPabN3dpAcps19lTTrfr6ivBnkq3+uxS maHNd3nWqdkNE73y+o5z+HD+o8QZmQXo1a2kDg8zzwGE8v+3ZSpCAK2M6jDGBMwy LzZUIQZ3C8GB5HRPqCI1g== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddruddvjedgudduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuf gfjghfkfggtgfgsehtqhhmtddtreejnecuhfhrohhmpedftfhofigrnhcuvfhomhhmihhn shculgfkoffuohfrngdfuceoihhmshhophdrphhhphesrhifvggtrdgtohdruhhkqeenuc ggtffrrghtthgvrhhnpeehleffteeigfevudetfedugedtudevledugeeugeelheeihfeh gfdtkeevvefgleenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehimhhsohhprdhphhhpsehrfigvtgdrtghordhukhdpnhgspghrtghpthhtohep uddpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepihhnthgvrhhnrghlsheslhhish htshdrphhhphdrnhgvth X-ME-Proxy: Feedback-ID: id5114917:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Sun, 25 Aug 2024 18:31:57 -0400 (EDT) Date: Sun, 25 Aug 2024 23:31:57 +0100 To: internals@lists.php.net Subject: Re: [PHP-DEV] [RFC] Default expression User-Agent: K-9 Mail for Android In-Reply-To: <928d6c8c-c969-4d55-82ff-5da8fc3d3035@scriptfusion.com> References: <0c8ed5d6-5507-4c41-8d7f-05d14ba8aa4c@scriptfusion.com> <0cfd3a28-3cb0-4478-85fb-cf086d8e5c66@app.fastmail.com> <3e0d031e-256f-47cd-9a2b-dcdc760f5498@scriptfusion.com> <6afeb23a-867f-457d-9b13-fdf5af02c31e@scriptfusion.com> <928d6c8c-c969-4d55-82ff-5da8fc3d3035@scriptfusion.com> Message-ID: Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: imsop.php@rwec.co.uk ("Rowan Tommins [IMSoP]") On 25 August 2024 22:51:45 BST, Bilge wrote: >Great! I'm glad we're finally getting to this, because I think this is wh= at you, and everyone advocating for a restricted grammar, is actually missi= ng=2E You think you've caught me in some kind of "gotcha" moment, but fair = warning, I'm about to play my Uno Reverse card=2E You could have got to it much quicker by just saying it earlier, particula= rly when explaining how the current implementation is *not* the easy path= =2E I was not in the slightest thinking I'd caught any kind of "gotcha", I was= repeating something I'd already said multiple times, that the *behaviour* = I feel is justified is having "default" usable in the RHS of a ternary or c= oalesce=2E I'm not an expert on parsers, and never claimed to be, so it's not particu= larly surprising to me that I've overlooked a reason why "expr ?: default" = can't be included without also including "default ?: expr", and will just h= ave to take your word for it=2E It doesn't, unfortunately, persuade me that the behaviour proposed is sens= ible=2E Rowan Tommins [IMSoP]