Re: [RFC] [VOTE] Transform exit() from a language construct into a standard function
| From: | Levi Morrison | Date: | Mon, 05 Aug 2024 16:06:28 +0000 |
| Subject: | Re: [RFC] [VOTE] Transform exit() from a language construct into a standard function | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-124774@lists.php.net to get a copy of this message | ||
On Tue, Jul 30, 2024 at 3:52 AM Gina P. Banyard <internals@gpb.moe> wrote:
>
> Hello Internals,
>
> 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.
>
> Best regards,
>
> Gina P. Banyard
After thinking about this several times over the course of discussion
and again now that it's in voting, I have decided to vote no. I am in
favor of this change, I just think given the concerns it's best to
wait for PHP 9.0 to do it. Maybe the concerns with control flow can be
improved by better inference/marking of functions which are
noreturn, at least for known functions (of which \exit definitely
would be).