Poll: Should CI4 have this function? You do not have permission to vote in this poll. |
|||
Yes | 3 | 30.00% | |
No | 7 | 70.00% | |
Total | 10 vote(s) | 100% |
* You voted for this item. | [Show Results] |
array_duplicate_by() helper to get duplicate array by column |
A new Array helper has been proposed.
See https://github.com/codeigniter4/CodeIgniter4/pull/8436 It returns duplicate elements in an array by key(s): PHP Code: $duplicate = array_duplicate_by($key, $data); Do you think CI4 should have the function, or you don't need it? |
Messages In This Thread |
array_duplicate_by() helper to get duplicate array by column - by kenjis - 02-03-2024, 06:20 PM
RE: array_duplicate_by() helper to get duplicate array by column - by ozornick - 02-04-2024, 12:23 AM
RE: array_duplicate_by() helper to get duplicate array by column - by InsiteFX - 02-04-2024, 01:28 AM
RE: array_duplicate_by() helper to get duplicate array by column - by JustJohnQ - 02-04-2024, 04:34 AM
RE: array_duplicate_by() helper to get duplicate array by column - by ddevsr - 02-06-2024, 12:15 AM
|