Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:128070 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 lists.php.net (Postfix) with ESMTPS id 8DE301A00BC for ; Tue, 15 Jul 2025 21:37:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1752615357; bh=Tr5CI6UAa+zYJsERZljMRo2Qtkd6XHYhVyydpJ1JxWY=; h=From:Subject:Date:References:Cc:In-Reply-To:To:From; b=RJ0lZLC7kSuXDe++9Oz8/BV9cbvcfHrSoYHMo4MwZgt2Mwjj4G8f294nVJbN19OiY rRfW6sqBAghAExonrLF/RVUKQAN4hHwuAkadvSkROapI0PVSuY24jBKAH8mEwYs3TQ ie1FA9FgeuC+iSSMgDQaMsnTSGB1j+tzcDn1F7Rv/lJTpJmEQ+fZ6v5Bm5ThL3WiVP DyL76SGRerLtWSabKebUVolNdjnAdH6hVcIwabmCcQWPfQHCfJgrUDcCu/L1CXqFDq Lg2FL8Mz4ztkwYdohrGS2UrFYzgeyRaEr7Rm8FRn5rrXc3oyeeGXu20INFNJMdZApI y8SoC78V8bLtg== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id B795E1801EB for ; Tue, 15 Jul 2025 21:35:56 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=4.0.1 X-Spam-Virus: Error (Cannot connect to unix socket '/var/run/clamav/clamd.ctl': connect: Connection refused) X-Envelope-From: Received: from mail-lf1-f54.google.com (mail-lf1-f54.google.com [209.85.167.54]) (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 ; Tue, 15 Jul 2025 21:35:56 +0000 (UTC) Received: by mail-lf1-f54.google.com with SMTP id 2adb3069b0e04-54b10594812so5785646e87.1 for ; Tue, 15 Jul 2025 14:37:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1752615462; x=1753220262; darn=lists.php.net; h=to:in-reply-to:cc:references:message-id:date:subject:mime-version :content-transfer-encoding:from:from:to:cc:subject:date:message-id :reply-to; bh=4gf/BGplbqA4AV5RO4qhL9nWdTVb9PspTGfzB446e9g=; b=BXMDGdqlOLTZDWsDf4YQbyFSkt+y/j+Mcb+MQVNQxpqllZpptnHoP12am7bU4p6u8p isRhVh03lzYFas9KeN5pJ+FaxYhzpQ4lxMBI6RL6xtGtyPMbeE4q308T+K9Igy+kNOAa JT+nbAbra9skdL2q5ebeHnbz1jhTJR0P+oyeVFCbzxBSGdHA3/CqPzAslmjhn3s+kj2x isqbVqVBtQjJ4qEXeKtxfIrH032m1+60NYGuXe8CLYmzPyZJnTA4bO5Y3lmQxoAUE83Q cVSv76yVSPaDEC7Ib9zjTIvApKoWEPFBWekkCIaUn+LNglS28Ao72WpnGP35gppXLcbf GzBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752615462; x=1753220262; h=to:in-reply-to:cc:references:message-id:date:subject:mime-version :content-transfer-encoding:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=4gf/BGplbqA4AV5RO4qhL9nWdTVb9PspTGfzB446e9g=; b=UHMxrrHqKlJ1TtOLE1CTA0U3Dp/UGVKAxDOXFuM2K1tg/ASRcprD0Ezka9heNKLbgT GrfZK9zX5nTGiw/EBUlBrrLqt5lio/ShsGK8DPEBXlivxf0AqvbgpLPNxTemekTcpm6p 8sYC5QrmtLT0/fIYY3KPEOHh/+/CWr8oyS2M/SivVyhLHFUz5aX5p/jdUJaElZEsaIw0 nkeGY2ODSYCOZBiJl0e9XnMzlOcWe9LPolO47ArKFl0ZRc7XlcMSjvAw69sD+kZgobkP Hp8BdLJlM4cq12bhmJ2JP98HK9dq+8pkJNt1MZMMgiQKnL0+Q3Cz7A/fRPNcZmIc2ZNg CKsg== X-Gm-Message-State: AOJu0YxVJwltvq7kEwcqbDxYGVafir6OqD/+g8hLtXiyqQqdu25tRoTB Y3YKdnqMwPedTDq+p2R1shga/+y8aG/VNI36RXww+DvFhTWIGtzsSELXbNPFyfGl X-Gm-Gg: ASbGncvN6akdAoKOiKpWurNejUU5F/52YBojDuy+Mm88pbSe41QlAlrg+d9fU4uzWbX QR/sQCWVptctVb2BWWfYjoxOYPe5RfLFSukO/VFPc007vgpT/5T6KZUfah9usCsxTrga0W0Rito 7z/KbQh/xet05sgkpdImZYbLgAatMkTdlxIeUn7C+Kp7f+OLzpdN0t+gPwmYFKnrqCCBOrCtTlP 7Toixl3lQsfOE8nqL06omQT9vH8vrOkCO+NqokbkfwDZevY9L4dT2E42METeTXL8RJ2DfGqvCJ3 FT8bUkqF5vQpPMjHI5zAj+SgFOIAEIqKiPmP5Imy6VLfh5iIMumnPIIt6SnrjQOPvKy4yJmoqJM 0YPSYHo/QuGlavyfRY5qEdkRFqWo6F7WG X-Google-Smtp-Source: AGHT+IH21lXV3leta3jxRb8P/+iuDlVMn23r8KSG811kZ1QRw3MsV9d3QDobwXjJd4tNLKS/95+ZGA== X-Received: by 2002:a05:6512:3c93:b0:553:2ce7:a1f3 with SMTP id 2adb3069b0e04-55a23f72efemr138081e87.43.1752615461748; Tue, 15 Jul 2025 14:37:41 -0700 (PDT) Received: from smtpclient.apple ([46.73.17.85]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-5593c7bd146sm2439371e87.16.2025.07.15.14.37.40 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 15 Jul 2025 14:37:41 -0700 (PDT) X-Google-Original-From: Dmitry Derepko Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow Mime-Version: 1.0 (1.0) Subject: Re: [PHP-DEV] [VOTE] Single-Expression Functions Date: Wed, 16 Jul 2025 00:37:30 +0300 Message-ID: References: <3cbe99a8-3415-45d3-aaf5-b5f921aab5e5@bastelstu.be> Cc: internals PHP In-Reply-To: <3cbe99a8-3415-45d3-aaf5-b5f921aab5e5@bastelstu.be> To: =?utf-8?Q?Tim_D=C3=BCsterhus?= X-Mailer: iPhone Mail (22F76) From: xepozzd@gmail.com (Dmitry Derepko) > I'd like to note that the start of the vote was very surprising to me. As y= ou acknowledged yourself, my email regarding open questions and issues with t= he RFC has been left unanswered for more the a month and then you started vo= ting 15 minutes after your response and making relevant changes to the RFC. T= his short of a time did not allow me (or other readers) to carefully conside= r the latest changes, which is the point of the discussion period. You=E2=80=99re right. I thought to shut down the RFC after absence of intere= st in the RFC, but Larry=E2=80=99s message reminded me that I should push it= further to try to fit in the release cycle, which ends soon.=20 > In fact the >=20 > $a =3D function() =3D> 123; >=20 > example that I mentioned in my email and that your response said wouldn't b= e allowed as part of the RFC still is in the existing proof-of-concept imple= mentation. >=20 > The RFC text itself also doesn't clearly specify what changes are proposed= and instead just uses some handwavy language "This RFC introduces a shortha= nd syntax for functions that consist of a single return statement". >=20 > In other words: It's not clear to me what changes to the language would ha= ppen, were this RFC accepted, since the RFC doesn't clearly specify it. In the purpose I=E2=80=99ve mentioned the function types that are going to b= e changed in the RFC. I=E2=80=99m sorry if I made in unclear. Help me to imp= rove it.=20 > The implementation is not the source of truth (and contradicts your respon= se anways), unless explicitly specified in the RFC together with a clearly s= pecified revision. As I understand the RFC process, the implementation means nothing unless the= RFC accepted.=20 So please, use the RFC document to understand the intent and discussions to f= ind already answered questions.=20 Anyway, I=E2=80=99m open for the news ideas, improvements and questions. Hop= e it will help you to change the opinion.=20=