On Tue, Jul 30, 2024 at 3:52 AM Gina P. Banyard <intern...@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).