3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = [1,2, "2", 3, 1]; var_dump(array_multisort($a, SORT_NUMERIC)); // $ar = array( // array("10", 11, 100, 100, "a"), // array( 1, 2, "2", 3, 1) // ); // array_multisort($ar[0], SORT_ASC, SORT_STRING, // $ar[1], SORT_NUMERIC, SORT_DESC); // var_dump($ar); ?>
based on QkBe0
Output for 5.6.0 - 5.6.38, hhvm-3.15.4 - 3.22.0, 7.0.0 - 7.2.11
bool(true)