3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = [ 'yellow-2.png', 'blue.png', 'orange.png', 'green.png', 'orange-2.png', 'red-2.png', 'black.png', 'yellow.png', 'red.png', ]; array_multisort(str_replace('-', '_', $array), $array); var_export($array);
Output for git.master, git.master_jit
array ( 0 => 'black.png', 1 => 'blue.png', 2 => 'green.png', 3 => 'orange.png', 4 => 'orange-2.png', 5 => 'red.png', 6 => 'red-2.png', 7 => 'yellow.png', 8 => 'yellow-2.png', )

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:
28.48 ms | 405 KiB | 5 Q