Hi Ilija,
Thanks for the RFC. In general, I like the idea but there are certain things
not clear to me.
1. What will happen if we pass a list to ` Assoc\unique`?
```
Assoc\unique([1, 2, 3, 1]);
```
2. What will happen if the array (no matter list or assoc) contains pure value
and reference wh
Hi
On 12/1/22 19:22, Ilija Tovilo wrote:
https://wiki.php.net/rfc/list_assoc_unique
This RFC proposes adding two new functions, List\unique() and
Assoc\unique() as alternatives using strict equality (===) semantics,
the former discarding and the latter preserving keys.
I believe this would b
Hi everyone
After the discussion on adding a new ARRAY_UNIQUE_IDENTICAL flag has
revealed that most would prefer a new function I've decided to create
an RFC for this.
https://wiki.php.net/rfc/list_assoc_unique
This RFC proposes adding two new functions, List\unique() and
Assoc\unique() as alter