Re: [RFC] Transform exit() from a language construct into a standard function
| From: | Gina P. Banyard | Date: | Mon, 29 Jul 2024 21:05:47 +0000 |
| Subject: | Re: [RFC] Transform exit() from a language construct into a standard function | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-124679@lists.php.net to get a copy of this message | ||
On Wednesday, 8 May 2024 at 15:40, Gina P. Banyard <internals@gpb.moe> wrote:
> Hello Internals,
>
> 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
>
> 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.
>
> Let me know what you think.
>
> Best regards,
>
> Gina P. Banyard
>
>
>
> [1] https://externals.io/message/122483
I have updated the RFC and implementation to now keep the T_EXIT token after 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