ScrewLooseSalad Posted July 26, 2013 Share Posted July 26, 2013 I have an array containing the users input of 14 strings, I want to search this array to find duplicates, but I'm not sure how to go about it efficiently... there isn't already a function that does this by any chance is there? Thanks Link to comment https://forums.phpfreaks.com/topic/280531-wanted-an-efficient-method-of-searching-for-duplicates-in-an-array-of-strings/ Share on other sites More sharing options...
Barand Posted July 26, 2013 Share Posted July 26, 2013 array_count_values array_unique Link to comment https://forums.phpfreaks.com/topic/280531-wanted-an-efficient-method-of-searching-for-duplicates-in-an-array-of-strings/#findComment-1442248 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.