Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Shitty way to remove dups from a php array
foreach ($arr1 as $k => $v)
if (array_search($v, $arr2) !== FALSE)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.