3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $arr = Array ( '682' => Array ( 'nature' => 682, 'totalGames' => 3, 'category' => 'super' ), '707' => Array ( 'nature' => 707, 'totalGames' => 2, 'category' => 'event' ), '728' => Array ( 'nature' => 728, 'totalGames' => 2, 'category' => 'event' ) ); uasort($arr,function($a,$b){ return $b['totalGames'] - $a['totalGames']; }); print_r(current($arr));
based on RKh57
Output for 5.3.20 - 7.3.1
Array ( [nature] => 682 [totalGames] => 3 [category] => super )