Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:125375 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 8011A1A00BD for ; Sun, 1 Sep 2024 12:40:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1725194518; bh=Bj5O5/JBmFD2Wtu1PAoF09FQvBSelpSqv7IOQwXvRIg=; h=Date:Subject:To:References:From:In-Reply-To:From; b=fTX5pKfGKSxVkXGZS4dhR0BJe5LdCp1uCLNVF1DcNHha4RFU28XrsiKdjKS+ape2S vTLfWbRkFMXRc9zyx+HEcs09b338NuePlnARaJRzuBBe+1f8szAcnGXdK/B3fMFm8b 97zr1YFOlaPzjMvjwFurgQaHbVUSwioGGBN5X+g/CSCf5Imvi6vzi7jyLGlLQUDTmW gDOnCfQD35WLuTg6zE/z1TvNVmgsHozuDJ8tI0pnUbkRBhCV8LRN+s8gGAcruAhZUq +Ge7Gxq8NSoxts3NDCSWdWH9jHeLmx0NND8qntaXzF3QMZMyJ9EVE9ufhexCQZHLKt RNqRJXSVnP2eQ== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 38AC5180059 for ; Sun, 1 Sep 2024 12:41:57 +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 fout7-smtp.messagingengine.com (fout7-smtp.messagingengine.com [103.168.172.150]) (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, 1 Sep 2024 12:41:56 +0000 (UTC) Received: from phl-compute-01.internal (phl-compute-01.nyi.internal [10.202.2.41]) by mailfout.nyi.internal (Postfix) with ESMTP id DF72413802B5 for ; Sun, 1 Sep 2024 08:39:59 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-01.internal (MEProxy); Sun, 01 Sep 2024 08:39:59 -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=1725194399; x=1725280799; bh=vPRiY5PjXILNu0VmUXC8JrPs4Qb3Bi6DtUyurqHUHTo=; b= N0WLMvyYkkfdeoT2CQp/oNxKEIHlkpwizvbE/Cc2uIof6krzYsMZ+yfj0GtP7XVo Y0DtreKfreEseJhz+cBOPjGPsSkCX7EnDugna9Kpk1/z6dmNBh9dIbjZdObzFW21 fsz7K4b1U2HWlfatzdIp4tqr6EEEhBHgdAJP44B4cd/9qONlrq9qMsrax+t1RY/N FC4Gskv8gWRoy8/WfR6V8D4N7wAjbl+ZYXW1UZ4mtv3NYeKMCzpiKSlBlrIFN8hP LWiPJDWxXabjqH6q9kr2yMCjm+WehO//GHjMG/HpkiIrl1C/KTcF08woeayx6PMi oTF9rNMgeP5kiGHjhVEosA== 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=1725194399; x= 1725280799; bh=vPRiY5PjXILNu0VmUXC8JrPs4Qb3Bi6DtUyurqHUHTo=; b=H LxLIBr6ba1GLUryNBwSv6zeAx3cjgYieJJN/cGPVeryU5+gCn8QQAxkM6V3OG6G2 w5OoCIb2s7L8UPCJXiAYqGaQb6mA7SsF4+wxtuox5+1gWLmKCBtiRDPpc6DSf0rW KYpu3EUibATc8sMpVV030K7Dg0BpP/OXDiDOAwjgMeOykNqzjNOHQ0maSUDU2zTD UrhXQzv+qIsO9LAzQxahDMtKEKGKVLA5qooOb0RXWvZ/T+lxK5tT9sBqA7tLpTZb xZdO1HWSOhfCMSjPw8Lh3++c/h7nf8C2X2zJUFoUiL+Ek6uc6x/ymNWYsPwELHOq eQvoUa0spZeEHnoI35s+Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrudeghedgfedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpefkffggfg fuvfhfhfgjtgfgsehtjeertddtvdejnecuhfhrohhmpedftfhofigrnhcuvfhomhhmihhn shculgfkoffuohfrngdfuceoihhmshhophdrphhhphesrhifvggtrdgtohdruhhkqeenuc ggtffrrghtthgvrhhnpefhleelteekveffgeeileetgffgvdelfeevuefgvdekkefhvdet fedufeeiheehfeenucffohhmrghinhepphhhphdrnhgvthenucevlhhushhtvghrufhiii gvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehimhhsohhprdhphhhpsehrfigvtgdr tghordhukhdpnhgspghrtghpthhtohepuddpmhhouggvpehsmhhtphhouhhtpdhrtghpth htohepihhnthgvrhhnrghlsheslhhishhtshdrphhhphdrnhgvth X-ME-Proxy: Feedback-ID: id5114917:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Sun, 1 Sep 2024 08:39:59 -0400 (EDT) Message-ID: Date: Sun, 1 Sep 2024 13:39:57 +0100 Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PHP-DEV] Re: [RFC] Default expression To: internals@lists.php.net References: <0c8ed5d6-5507-4c41-8d7f-05d14ba8aa4c@scriptfusion.com> Content-Language: en-GB In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit From: imsop.php@rwec.co.uk ("Rowan Tommins [IMSoP]") On 29/08/2024 22:52, Bilge wrote: > On 24/08/2024 17:49, Bilge wrote: >> >> New RFC just dropped: https://wiki.php.net/rfc/default_expression. I >> think some of you might enjoy this one. Hit me with any feedback. >> > Now the dust has settled, I've updated the RFC to version 1.1. The > premise of the RFC is unchanged, but the proposal has been expanded > and a discussion section added to summarise the ~100 message thread to > capture the major concerns raised in a condensed format. I hope I've > done a good job of fairly and accurately representing your concerns, > but if not please correct me. As promised, I have written up a full explanation of the type safety issues here: https://wiki.php.net/rfc/default_expression/type_safety I have tried to write this as a neutral description of the problem and the possible approaches we could take, to be inserted directly into the current RFC, rather than as a counter-opinion or a narrative of who said what. I have included the 4 options which I believe are the only ones we have; it is then a matter of opinion which we think is best. For the record, my opinion remains that option 3 (limit to conditional expressions) is preferable, but I have assumed the RFC will continue to advocate for option 1 (allow any expression and assume problems will be rare). I hope I have explained it clearly enough this time to overcome the previous misunderstandings of where the issue lies. Regards, -- Rowan Tommins [IMSoP]