On Tue, Apr 22, 2025 at 9:18 PM Niels Dossche <dossche.ni...@gmail.com> wrote:
>
> Hi internals
>
> I'm opening the vote for https://wiki.php.net/rfc/array_first_last
> Vote runs until 2025-05-06 23:59:59 CEST.
>
> Kind regards
> Niels

I've voted yes. I still don't like functions which conflate null as an
error and null as a legitimate value. I think that the user can
reasonably avoid this edge in many cases, and we don't really have a
better option (ha) than throwing an exception, which doesn't seem
right to me in this case.

So it's a reluctant yes.

Reply via email to