Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:124773 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 987261A00B7 for ; Mon, 5 Aug 2024 15:46:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1722872895; bh=BP5xrZ+t1sCAbVhzH3P9LJppiyJXW5sPePNW40TcExE=; h=Date:From:To:In-Reply-To:References:Subject:From; b=DGutHRmNJD3+jwYikI2LByPv7ji2Jpm/NgHQ66SgjM0Pso3HKmqibtORmHcSN8Jf/ GIFr3LebBBnlFZoUnkZhjkioAZZXQWPaJPknXx+JybFPiNF+lrIFd2paPaNK3QKoKm 0+LkAAAgSqPl1ZSCX8xag4+1bkExRjOodg2JyWSDMgiZHfhBcbRn90VX+3RzAmtEth pUlXXfeWDyH2xYApCaUV8NAzFgkg5oe1BahajO97fmlu6+Ee8k8BqemJ7fuvT9XFl8 s8bnSLQpvt9EWwBoiCPTJKOtOUJoeu12g2dHEOJ4jyNimr5RpGMcvLiqJWTbcG0oOu pXJXSE0bZgpZQ== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id DD7B71801EC for ; Mon, 5 Aug 2024 15:48:11 +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, SPF_HELO_PASS,SPF_NONE autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from fout4-smtp.messagingengine.com (fout4-smtp.messagingengine.com [103.168.172.147]) (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 ; Mon, 5 Aug 2024 15:48:10 +0000 (UTC) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailfout.nyi.internal (Postfix) with ESMTP id AF705138DE1C for ; Mon, 5 Aug 2024 11:46:28 -0400 (EDT) Received: from wimap23 ([10.202.2.83]) by compute3.internal (MEProxy); Mon, 05 Aug 2024 11:46:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= garfieldtech.com; 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=fm3; t=1722872788; x=1722959188; bh=FTyGSJaUCS67IcxEtyn+n Eomhm3Y9xQ0eLqkCqVy+vY=; b=oS6T2IzRwcHxBASCo02LeDG6ZcXUhq84NB6oh 4ZSdoOT75aoM9dX/b4TfJgZAL6S7CrgF88Fm4G5uCZqwJ936fZiIEzJPrgyq6cmk Rd8mzhJghJ5bcoByR4GjqO+rrP4pVmYYFqKQxnYAlpyeRaO34WsqV8wgVYpIKP5e eAKx/zfBLhJmDLtxs9jnB5RicFq6S3xHnLnMn4XpD+epCTjs7MF+YvTGyxsFfFM2 UDC57kawEz4rXpnbXYvx4M5bYlwHJsi6KSqq/biexT/yR0cATRKKTvXcHrr2oMrE cR5bLCpMVCgyBR4VY1b7iLBVWZyhrPIdkyry/w+SI1VJPMG/g== 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=fm3; t=1722872788; x= 1722959188; bh=FTyGSJaUCS67IcxEtyn+nEomhm3Y9xQ0eLqkCqVy+vY=; b=R BcerYulxgUWlxQHy7O3Mie8rugp4eHbYEcBTUAJ4IP+Zk3hhUWK+O0a6HCqFSu7t zbphgd+XgiGZ4tc1BteBNA+lvR8bq4ED9K0R4uIRljBePcadD0fpPxupQg+2Z5fO 9SVScf8ICTuwZ9WExyBtcPeafA5RCdsWo0Uf+A3ziEL5kxuiXUG9+xF9qdZG5MmS JL5AdK1VlPe6c9j7/uFcHXlZLdKnQr2Xllk0Bm4arvvX4Ufcoq9cPeIs6d1ovdQW NPlctOJDJ9RGi0AFdty+wqCOqZQAokTexxVOTpWPG8tETFJD4xWx4XQIcG2fxWcF hzc1aVf08krZ3dMD/bWgg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrkeeigdelhecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefoggffhffvkfgjfhfutgfgsehtjeertdertddtnecuhfhrohhmpedfnfgrrhhr hicuifgrrhhfihgvlhgufdcuoehlrghrrhihsehgrghrfhhivghlughtvggthhdrtghomh eqnecuggftrfgrthhtvghrnhepteejjeejlefhffeuveekleeiieeujeefhfevtdevffel tdeludehieffgfehhfdunecuffhomhgrihhnpehphhhprdhnvghtpdgvgihtvghrnhgrlh hsrdhiohenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhm pehlrghrrhihsehgrghrfhhivghlughtvggthhdrtghomhdpnhgspghrtghpthhtoheptd X-ME-Proxy: Feedback-ID: i8414410d:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 855F62920063; Mon, 5 Aug 2024 11:46:28 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 Date: Mon, 05 Aug 2024 10:46:07 -0500 To: "php internals" Message-ID: In-Reply-To: <1a8650d2-7eb5-d645-8132-e5522ad24637@php.net> References: <15bb76a0-cbd7-4145-b429-76d424755106@gmx.de> <1a8650d2-7eb5-d645-8132-e5522ad24637@php.net> Subject: Re: [PHP-DEV] [RFC] [VOTE] Transform exit() from a language construct into a standard function Content-Type: text/plain Content-Transfer-Encoding: 7bit From: larry@garfieldtech.com ("Larry Garfield") On Mon, Aug 5, 2024, at 6:04 AM, Derick Rethans wrote: > On Tue, 30 Jul 2024, Christoph M. Becker wrote: > >> On 30.07.2024 at 11:49, Gina P. Banyard wrote: >> >> > I have just opened the vote for the "Transform exit() from a >> > language construct into a standard function" RFC: >> > https://wiki.php.net/rfc/exit-as-function >> > >> > The vote will last for two weeks until the 13th of August 2024. >> >> As userland PHP developer, I always regarded `exit` as a control flow >> instruction (quite similar to `break`), and as such I'm not really in >> favor of converting it to a proper function (especially since it is >> not, because the parantheses could be omitted). > > Xdebug uses exit for exactly that too. For control flow analysis. And I > also always have considered it to be a control flow instruction. > > I see no benefit in changing it to a function, especially because > there will never be a function "exit" from it, just only an "entry". > This breaks function execution symmetry (and causes issues with Xdebug > when I last tried to make it work with a development branch for this > RFC). > > As the RFC is scarce on mitigations for this, I am currently voting "no" > as I am unsure how certain features in Xdebug could remain working. I > have written to the list on other reasons before > (https://externals.io/message/123277#123450) without a conclusion. > > I'll consider changing it to yes if there is a commitment for addressing > these feature-maintaining-requirements to keep Xdebug working, either > through new APIs (think observer) or other mitigations. > > cheers, > Derick While I support language and engine cleanup, if this change causes issues for Xdebug that is a fairly significant problem. For that reason I have shifted my Yes to a No for now. Like Derick, I will switch it back to a Yes should the Xdebug issue be resolved to his satisfaction. But "keep Xdebug working" is a rather mission-critical requirement for any RFC, as a practical matter. --Larry Garfield