3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $array = array(0 =>array('codes'=>array(7,4,5)), 1 =>array('codes'=>array(4,45,1))); array_multisort ($array, SORT_NUMERIC); var_dump($array);
Output for 7.1.0
array(2) { [0]=> array(1) { ["codes"]=> array(3) { [0]=> int(7) [1]=> int(4) [2]=> int(5) } } [1]=> array(1) { ["codes"]=> array(3) { [0]=> int(4) [1]=> int(45) [2]=> int(1) } } }
Output for 4.3.0 - 7.0.14
array(2) { [0]=> array(1) { ["codes"]=> array(3) { [0]=> int(4) [1]=> int(45) [2]=> int(1) } } [1]=> array(1) { ["codes"]=> array(3) { [0]=> int(7) [1]=> int(4) [2]=> int(5) } } }