Created
November 17, 2015 19:58
-
-
Save diegoarigony/fb098d23dfcd17c7b87c to your computer and use it in GitHub Desktop.
Remove duplicate values from multidimensional array - From http://stackoverflow.com/questions/307674/how-to-remove-duplicate-values-from-a-multi-dimensional-array-in-php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$input = array_map("unserialize", array_unique(array_map("serialize", $input))); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment