3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php //$your_array = array(0 =>array("codes"=>array(7,4,5)), 1 =>array("codes"=>array(4,45,1))); //foreach ($your_array as $array){ // array_multisort($array); var_dump($array); //} $array = array("codes"=>array(7,4,5)); array_multisort($array); var_dump($array);
Output for 5.0.4 - 5.6.23, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Notice: Undefined variable: array in /in/hSvq2 on line 7 NULL array(1) { ["codes"]=> array(3) { [0]=> int(7) [1]=> int(4) [2]=> int(5) } }
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: array in /in/hSvq2 on line 7 NULL array(1) { ["codes"]=> array(3) { [0]=> int(7) [1]=> int(4) [2]=> int(5) } }