Re: Re: [RFC] [Discussion] array_first() and array_last()

From: Date: Tue, 22 Apr 2025 16:57:51 +0000
Subject: Re: Re: [RFC] [Discussion] array_first() and array_last()
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
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)

« previous php.internals (#127166) next »