3v4l.org

run code in 300+ PHP versions simultaneously
<?php $sample[0] = array("abc", 32); $sample[1] = array("def", 11); $sample[2] = array("hij", 76); $sample[3] = array("klm", 9); $sample[4] = array("nop", 12); print_r($sample); array_multisort($sample, SORT_NUMERIC); echo '<br />'; print_r($sample);
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [0] => Array ( [0] => abc [1] => 32 ) [1] => Array ( [0] => def [1] => 11 ) [2] => Array ( [0] => hij [1] => 76 ) [3] => Array ( [0] => klm [1] => 9 ) [4] => Array ( [0] => nop [1] => 12 ) ) <br />Array ( [0] => Array ( [0] => abc [1] => 32 ) [1] => Array ( [0] => def [1] => 11 ) [2] => Array ( [0] => hij [1] => 76 ) [3] => Array ( [0] => klm [1] => 9 ) [4] => Array ( [0] => nop [1] => 12 ) )

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