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);
Output for git.master, git.master_jit, rfc.property-hooks
array(2) { [0]=> string(6) "12.php" [1]=> string(6) "31.php" } array(2) { [0]=> string(8) "bb 1.php" [1]=> string(8) "aa 1.php" }

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
65.65 ms | 401 KiB | 8 Q