3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array( '06930' => array( 'count' => 20 ), '06905' => array( 'count' => 25 ), '06910' => array( 'count' => 15 ), '06903' => array( 'count' => 15 ), '06920' => array( 'count' => 10 ), '06940' => array( 'count' => 5 ), '06915' => array( 'count' => 10 ), ); array_multisort(array_column($array,'count'), SORT_DESC, SORT_NUMERIC, array_keys($array), SORT_NUMERIC, SORT_ASC,$array); print_r($array);
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [06905] => Array ( [count] => 25 ) [06930] => Array ( [count] => 20 ) [06903] => Array ( [count] => 15 ) [06910] => Array ( [count] => 15 ) [06915] => Array ( [count] => 10 ) [06920] => Array ( [count] => 10 ) [06940] => Array ( [count] => 5 ) )

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