On Wed, May 8, 2024, at 1:40 PM, Gina P. Banyard 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 support this.  My only question (which applies to current exit() as well), is 
what the exit code is when you pass a string as the parameter.  That's not 
clear from the exit() docs currently, but the RFC made me wonder.  (This may be 
just a doc fix and we move on with life.)

--Larry Garfield

Reply via email to