Re: Re: [RFC] [Discussion] array_first() and array_last()
On 22/04/2025 18:51, Levi Morrison wrote:
> I don't think it blocks this RFC in any way, and could be made
> frameless after the vote--I just wanted to bring up that I think
> they _should_ be frameless if they get accepted (and update
> array_key_first/array_key_last to be frameless too).
Hi
Indeed, we have added frameless versions of functions before, without a RFC.
This is not a problem because this is just like any other optimization that we PR.
Note that we always need to have _both_ a normal handler and a frameless handler, so it's not
about _converting_ but about adding another handler (just making sure we're on the same page
:-)).
Kind regards
Niels
Thread (22 messages)