-
-
Save EdwardIII/dd0c8e732e1c74cd1792 to your computer and use it in GitHub Desktop.
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 | |
$array = array( | |
array( | |
'person' => array( | |
'name' => 'Beavis', | |
'age' => 13, | |
), | |
), | |
array( | |
'person' => array( | |
'name' => 'Cornholio', | |
'age' => 101 | |
), | |
), | |
array( | |
'person' => array( | |
'name' => 'Butthead', | |
'age' => 15, | |
), | |
) | |
); | |
# Is there a builtin to sort these people by their age descending? | |
var_dump($array); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment