[PHP-DEV] [RFC] [Vote] array_first() and array_last()

Hi internals

I'm opening the vote for PHP: rfc:array_first_last
Vote runs until 2025-05-06 23:59:59 CEST.

Kind regards
Niels

On Tue, Apr 22, 2025 at 9:18 PM Niels Dossche <dossche.niels@gmail.com> wrote:

Hi internals

I'm opening the vote for PHP: 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.

On 22/04/2025 22:52, Niels Dossche wrote:

Hi internals

I'm opening the vote for PHP: rfc:array_first_last
Vote runs until 2025-05-06 23:59:59 CEST.

Kind regards
Niels

Hi internals

Vote ended with 35 yes, 0 no.
Thanks to all participants.
Merged into master.

Kind regards
Niels