Created
January 28, 2013 14:51
-
-
Save faboo03/4656100 to your computer and use it in GitHub Desktop.
Exemple uasort
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
uasort( | |
$returnArray, | |
function ($a, $b) { | |
return $a["total"] < $b["total"] ? 1 : -1; | |
} | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment