Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:124679 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 843A91A00B7 for ; Mon, 29 Jul 2024 21:05:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1722287252; bh=+/pKv9kQHMkINgRhTDidi0gzLZzIFgvrNU6E5E4N/Xk=; h=Date:To:From:Subject:In-Reply-To:References:From; b=MkbPCmr+J80aWmB2VN4RPexNTxCHjoOchxpC0VpaVA+S+IXRcS+ihziB3Q1jaQoTR 8SW2RJaY4SWjbyf9G/AxJgrBOukD+e1IyoBdK6rS6nFL6WQB78FgqxGezsig1YSsss F62nIuaGWz1VhLM7ym00oZdHFq1cPfgB0KFbbGxNBFgPNDUaWGwzdHKoIgxIRlWLaL 9IIgZ7Dtgeby5r4ZoajNFCnnIGR5VezIVwftWfKGNRQr1ZV5jCUMiByKbtQLHkSdqt dNd8UTYRteuwxjI+FNCbfKpGtwMEZViAZDPJfwkVS28f+oYpG0KtqoCquG+tQLWtq9 VyCAWm/4gy39w== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id E09FB18003A for ; Mon, 29 Jul 2024 21:07:30 +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_PASS,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 mail-4317.proton.ch (mail-4317.proton.ch [185.70.43.17]) (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, 29 Jul 2024 21:07:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gpb.moe; s=protonmail2; t=1722287150; x=1722546350; bh=+/pKv9kQHMkINgRhTDidi0gzLZzIFgvrNU6E5E4N/Xk=; h=Date:To:From:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=nV6EsqgF7MymC4Mo7YFl0TNejH9qPw9044yuRi57FUHxckJ2VLDOA9XiEI9HvyXUr 2v/2yuT1QzcjeprnVzEGu68wBoAb+ndRhoQpIUVLSBQg0V8Nq9eO00PujypRbbMVLB 0huYXYCewm8n3Q06Nh0ECfuJLnTkseUDqjmWujdPt6ODPReKnNcKkfXGuzseytXN14 hhd8pJf2g4UoDLJc3d+Si5m47W++SEEIkUNjm+rv2PJy4TfBLvNIhF3p0oKCWmBTEc i+e2Q/FQh62023SkWNSdOFJ2/D06ivbbQMmdYrddCUyyfLkJMAYSBAwC79jHrxVZYe xWYclcM7PxtvA== Date: Mon, 29 Jul 2024 21:05:47 +0000 To: PHP internals Subject: Re: [PHP-DEV] [RFC] Transform exit() from a language construct into a standard function Message-ID: In-Reply-To: References: Feedback-ID: 96993444:user:proton X-Pm-Message-ID: e9ac98c72f519b4d101392397f4c0c641a779dff 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: internals@gpb.moe ("Gina P. Banyard") On Wednesday, 8 May 2024 at 15:40, Gina P. Banyard wrot= e: > Hello Internals, >=20 > I would like to formally propose my idea for exit() as a function brought= up to the list on 2024-02-24 [1] with the following RFC: > https://wiki.php.net/rfc/exit-as-function >=20 > There have been some slight tweaks to the implementation, namely that the= transformation from a "constant" to a function is done at compile time and= we do not hook into the behaviour of constants any longer. >=20 > Let me know what you think. >=20 > Best regards, >=20 > Gina P. Banyard >=20 >=20 >=20 > [1] https://externals.io/message/122483 I have updated the RFC and implementation to now keep the T_EXIT token afte= r request. https://wiki.php.net/rfc/exit-as-function I will open the voting tomorrow so that the RFC can be accepted for 8.4. Best regards, Gina P. Banyard