Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:123277 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 B019C1A009C for ; Wed, 8 May 2024 13:40:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1715175683; bh=XH0Ap2TzWDQhNOuvQZyKsGagVL86yQUvVDl9iGqGjoM=; h=Date:To:From:Subject:From; b=kgArGNRmH90YoGJPhwNVCgxhnkA6wlx0PScwMLBrzSdHX6qKcoWKJJOTRK74OPcQe 6+ho6iC92xSL0z9KH+bmnpeDQ9m/Ag4f4J7JzITJm0aGClOGg4E1eqsyFDTe+iW9Kn zKIRAHU5GGbKHkq6RRsSeVCehrxOjMtqYZhvFDuTmRP1tsWcL/WuygwF0XwRP+QAAF i9LCZTxqj9+x/B+fVyacPcd4pM2J9YRV5oOxoUrJx3LhC81ffYLWYNwbaJYWa7hhyc 9OORiX7BhiMXsxYWLkKHvq5c4gAUo/Yv71PHjv+pqJ2HvjyQ8UL8MIVx3FVPl5BsOS /OF/NKML+ZE6A== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id EBBDE18007D for ; Wed, 8 May 2024 13:41:21 +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.6 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 ; Wed, 8 May 2024 13:41:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gpb.moe; s=protonmail; t=1715175631; x=1715434831; bh=XH0Ap2TzWDQhNOuvQZyKsGagVL86yQUvVDl9iGqGjoM=; h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=li73HdWWiSpbP+p8QAfEq7KvZHI4S3rZrkPEqo7hBOUXUCjzD1mTlH8+LH7OykP/s IAWgAx6oXgIzUSrH0WEfsglnYmu5Y6Rx2xrzihal/MkflM/clEWg34Q78u0rSKtKgW OSf4TTxsoB/f8LiNfsXZ9fLlsYXpYjCJJdoe4q0XjejwcIG55Tn0sQ6ujNzBCXVShA mtITezJ26bCsTWSAYvLH53dDqRjpLORzJL5RcJSCPg7MwLaIZ9aQ6vqLPh584tjIIp vCzsiLJMcbyvtSkXH/OQxwV8A7GiLl145DEgbPAEh57qXyLgflVewxZ4qMGhiJvbIN JVtZNwevk+8kQ== Date: Wed, 08 May 2024 13:40:29 +0000 To: PHP internals Subject: [PHP-DEV] [RFC] Transform exit() from a language construct into a standard function Message-ID: Feedback-ID: 96993444:user:proton X-Pm-Message-ID: 06376b79ceb07453d19d499fbec2bbdf842aa389 Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: internals@gpb.moe ("Gina P. Banyard") Hello Internals, I would like to formally propose my idea for exit() as a function brought u= p to the list on 2024-02-24 [1] with the following RFC: https://wiki.php.net/rfc/exit-as-function There have been some slight tweaks to the implementation, namely that the t= ransformation from a "constant" to a function is done at compile time and w= e do not hook into the behaviour of constants any longer. Let me know what you think. Best regards, Gina P. Banyard [1] https://externals.io/message/122483