3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $arr1 = array(1,9,5,9); $arr2 = array(6,2,4,1); $arr3 = array(3,7,8,0); array_multisort($arr1,$arr2,$arr3); print_r($arr1);
based on cvS1n
Output for 4.3.0 - 7.1.0
Array ( [0] => 1 [1] => 5 [2] => 9 [3] => 9 )