Re: [RFC] [Discussion] array_first() and array_last()
From: Daikaras Date: Tue, 08 Apr 2025 08:53:07 +0000 Subject: Re: [RFC] [Discussion] array_first() and array_last() References: 1 Groups: php.internals Request: Send a blank email to [email protected] to get a copy of this message
On 4/5/2025 6:51 PM, Niels Dossche wrote:Hi internals I'm opening the discussion for the RFC "array_first() and array_last()". https://wiki.php.net/rfc/array_first_last Kind regards Niels-1 because returningnull
for empty arrays is still wrong. Whatever similar behavior exists should be corrected to throwValueError
in the future. Just my 2c.
Thread (22 messages)
« previous | php.internals (#127071) | next » |
---|