rfc:list_assoc_unique
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
rfc:list_assoc_unique [2022/12/01 17:53] – ilutov | rfc:list_assoc_unique [2022/12/01 18:01] – ilutov | ||
---|---|---|---|
Line 41: | Line 41: | ||
Removing duplicates from arrays is a common use case provided by many programming languages. PHPs < | Removing duplicates from arrays is a common use case provided by many programming languages. PHPs < | ||
has been there for [[https:// | has been there for [[https:// | ||
- | However, PHP has multiple definitions of equality, four in particular supported by < | + | However, PHP has multiple definitions of equality, four in particular supported by < |
* < | * < | ||
Line 77: | Line 77: | ||
===== Alternative approaches ===== | ===== Alternative approaches ===== | ||
- | Previously, adding a new parameter | + | Previously, adding a new < |
- | people would prefer a new function over fixing the existing function | + | parameter |
- | to discover. | + | with a flag that might be more difficult to discover. |
===== Vote ===== | ===== Vote ===== |
rfc/list_assoc_unique.txt · Last modified: 2022/12/01 18:19 by ilutov