Created
July 26, 2013 18:12
-
-
Save atbradley/6090990 to your computer and use it in GitHub Desktop.
Run array_unique() on an array containing arrays (array_unique() expects strings).
This file contains hidden or 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
$outp = array_map('serialize', $outp); | |
$outp = array_unique($outp); | |
$outp = array_map('unserialize', $outp); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment