Welcome Guest, Not a member yet? Register   Sign In
Poll: Should CI4 have this function?
You do not have permission to vote in this poll.
Yes
30.00%
3 30.00%
No
70.00%
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
#1

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?
Reply


Messages In This Thread
array_duplicate_by() helper to get duplicate array by column - by kenjis - 02-03-2024, 06:20 PM



Theme © iAndrew 2016 - Forum software by © MyBB