Re: [RFC] array_partition()
| From: | Tim Düsterhus | Date: | Fri, 20 Nov 2026 07:51:32 +0000 |
| Subject: | Re: [RFC] array_partition() | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-133133@lists.php.net to get a copy of this message | ||
Hi
On 2026-11-20 00:30, Ayoub EZZINI wrote:
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_partitionI'm not seeing a change to the RFC. Did you forget to save the page?
This is my Intent to Vote: unless new concerns come up, I plan to open the vote on Friday, 27 November, for two weeks.I would say that making the change is a “Major Change” since it significantly affects the behavior of the method (e.g. not being able to write a polyfill is significant). As such it would need a 2 week cooldown after making the change. At this point the end of the vote would then also fall into the “end of year” holidays, so you would either need to extend the vote until January 10, or just start it cleanly next year. With the RFC itself, I'm happy either way with the reference handling. Thank you for the proposal :-) Best regards Tim Düsterhus