3v4l.org

run code in 300+ PHP versions simultaneously
<?php $list = [ [0 => "F"], [1 => "E"], [60 => "B"], [20 => "C"], [14 => "D"], [100 => "A"] ]; array_multisort(array_map('key', $list), SORT_DESC, $list); var_export($list);
Output for git.master, git.master_jit, rfc.property-hooks
array ( 0 => array ( 100 => 'A', ), 1 => array ( 60 => 'B', ), 2 => array ( 20 => 'C', ), 3 => array ( 14 => 'D', ), 4 => array ( 1 => 'E', ), 5 => array ( 0 => 'F', ), )

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:
79.87 ms | 406 KiB | 5 Q