Re: [RFC] array_partition()
| From: | Ayoub EZZINI | Date: | Thu, 19 Nov 2026 23:30:27 +0000 |
| Subject: | Re: [RFC] array_partition() | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-133130@lists.php.net to get a copy of this message | ||
Hi,
On 2026-10-27, Tim Düsterhus wrote:
> There are probably good arguments for both positions and I'd
> like to hear some more opinions from others on this matter.
There haven't been any further opinions on reference handling, so I've
resolved the open issue in favour of the original proposal: references
are kept, consistent with array_filter(), array_diff_key(),
array_slice(), array_values() and array_chunk(). The reasoning is now
under "Rejected Features", and the behaviour itself is unchanged:
https://wiki.php.net/rfc/array_partition
This is my Intent to Vote: unless new concerns come up, I plan to open
the vote on Friday, 27 November, for two weeks.
Best regards,
Ayoub