3v4l.org

run code in 300+ PHP versions simultaneously
<?php $slice = [[3,2,54,6,2,5,23,3], [2,23,52,23,3465,235,235]]; foreach ($slice as $col) { array_multisort($col); $slicesort[] = $col; } print_r($slicesort); foreach ($slice as &$col) { sort($col); } print_r($slice);
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [0] => Array ( [0] => 2 [1] => 2 [2] => 3 [3] => 3 [4] => 5 [5] => 6 [6] => 23 [7] => 54 ) [1] => Array ( [0] => 2 [1] => 23 [2] => 23 [3] => 52 [4] => 235 [5] => 235 [6] => 3465 ) ) Array ( [0] => Array ( [0] => 2 [1] => 2 [2] => 3 [3] => 3 [4] => 5 [5] => 6 [6] => 23 [7] => 54 ) [1] => Array ( [0] => 2 [1] => 23 [2] => 23 [3] => 52 [4] => 235 [5] => 235 [6] => 3465 ) )

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:
53.44 ms | 403 KiB | 8 Q