3v4l.org

run code in 300+ PHP versions simultaneously
<?php $sortAry[] = '31.php'; $sortAry[] = '12.php'; $newLogs[] = "aa 1.php"; $newLogs[] = "bb 1.php"; array_multisort($sortAry, $newLogs); var_dump($sortAry, $newLogs);
based on Z4RTM