Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:130629 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 716361A00BC for ; Tue, 14 Apr 2026 13:35:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1776173715; bh=IzfZTHKea+bqpUMa7Sv32tJJvp8KFqrcr0VgHwBw7os=; h=Date:From:To:Subject:In-Reply-To:References:From; b=h/6RnFNkmyMiPJ/UKYF9oC9z5s4t3tfqrCe6GR9CSh8xaT2kL7+GNKBOqTA6qflmu 5AlWkE0AcwJ6lJc5YNkfhgTqshmqpRPpPXJAJCEOQOdjlAkBFg9okAegXPEmECEicO Gy60bp5Wg0EwukzxbjIhLViAyLRL1X051Xf7xuIaiN46Xo/g2Sk0D8H9tyBep1PZwg 5ih6rjUv3Zpyk5JD8+/iMWiYqdbi8Q5Y2d0L0I9IgJ79YEzXxdKqh7ko9lKJ6kxGAw objpYEVW6cj34hvE28Y0/MTtvqs/lDh5bHbOeZT0CxeqCZgPGhhFwh11pB6Mi2XrIv nNZIRCjAsP0xg== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 2FAE31801C7 for ; Tue, 14 Apr 2026 13:35:10 +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.6 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=4.0.1 X-Spam-Virus: No X-Envelope-From: Received: from chrono.xqk7.com (chrono.xqk7.com [176.9.45.72]) (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, 14 Apr 2026 13:35:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bastelstu.be; s=mail20171119; t=1776173702; bh=v82Cgq5C3MGTcWfFqCb2kHar0D6UhqMwfDiuytEvo9Y=; h=MIME-Version:Date:From:To:Subject:In-Reply-To:References: Message-ID:Content-Type:from:to:cc:subject:message-id; b=Gcl1FzirlnvR5bcub4tvNXbR5m1r46071uIMkvKOjb/l7qqCrvpmD9QrVM9AUIMFg S2Ru751lha47RzmHh6HWW45PDwbV0fFsZldmCJNQ38kgpYe7CIln+9OJYAiIgrJ2o4 rGpbj43jYHqaE4OGDiBue7oexbu0pvcRH7eA0vbD5juEttlnKyZn8ceOHhfBl3D2Jo SudQ1w+yNRqXkvpel6zoF2BqrmVmrWW/xK2VTYft9+t8tt1pk8JOqwTsaUmPa8XpgJ ITduWPqS4xIQv1uj5q7n9Z2wseIZJcUqbjZ9mS1Sk37jmgQE0XcjzgBB+HMwwSGfBV RZQpbhBeTv5/A== Precedence: list list-help: list-unsubscribe: list-post: List-Id: x-ms-reactions: disallow MIME-Version: 1.0 Date: Tue, 14 Apr 2026 15:35:02 +0200 To: Larry Garfield , php internals Subject: Re: [PHP-DEV] [RFC] Context Managers In-Reply-To: <841b8e97-9052-4868-badc-1dd1dad0e99a@app.fastmail.com> References: <5d96fca3ca5418e6e9e5d8871b26477f@bastelstu.be> <8bf1b0a7-7771-4f81-b92c-49bb019f7f9d@app.fastmail.com> <02dbe23bb5a4e53be7bf2db7506e07b6@bastelstu.be> <841b8e97-9052-4868-badc-1dd1dad0e99a@app.fastmail.com> Message-ID: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit From: tim@bastelstu.be (=?UTF-8?Q?Tim_D=C3=BCsterhus?=) Larry, On 4/7/26 18:20, Larry Garfield wrote: > the continue question (which is now a secondary vote) I'm really struggling with finding appropriate words in my reply here. It is not at all clear to me how both Rowan's and my replies could lead to a conclusion of "neither approach is obviously better and both have downsides" and the addition of a secondary vote, particularly one with voting options using a "suggestive question" wording. Secondary votes are for multiple equally-valid options that *directly* relate to the RFC in question, not to have a backdoor to ship changes to PHP with less than a 2/3 majority. The RFC policy is quite clear on that: > Combining multiple proposals into one RFC MUST NOT be used to turn a > primary vote into a secondary vote. In this case this secondary vote would (potentially; depending on the result) break the expectation that exchanging `break` with `continue` and vice versa will continue (pun not intended) to target the same control structure and add more special cases to the languages. This is a semantic change that is unrelated to context managers, and thus would be something requiring a 2/3 vote - or better: Something that should just not happen. I find it extremely disrepectful to use loaded language like "quirk" to refer previously established design decision that you don't understand the reasons for or that you disagree with. With regard to the voting options: > Ignore using blocks entirely, like try is drawing a faulty comparison, because `break` also ignores `try`. This is not special behavior of `continue`. There is a reason as to why things are the way they are. Please do your research instead of making assumptions and leaving it to others to point out how the RFC would break PHP's existing well-established language design. Best regards Tim Düsterhus