3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr =[ [0.577677, '/art and entertainment/visual art and design/painting'], [0.576528, '/technology and computing/internet technology/email'], [0.197858, '/business and industrial/energy/oil/oil and gas prices'], [0.707193, '/sports/wrestling'], [0.506016, '/style and fashion/beauty/cosmetics'], [0.144159, '/food and drink/beverages/alcoholic beverages/cocktails and beer'], ]; uasort($arr,function($a,$b){ return $a['0'] - $b['0']; }); print_R($arr);
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [0] => Array ( [0] => 0.577677 [1] => /art and entertainment/visual art and design/painting ) [1] => Array ( [0] => 0.576528 [1] => /technology and computing/internet technology/email ) [2] => Array ( [0] => 0.197858 [1] => /business and industrial/energy/oil/oil and gas prices ) [3] => Array ( [0] => 0.707193 [1] => /sports/wrestling ) [4] => Array ( [0] => 0.506016 [1] => /style and fashion/beauty/cosmetics ) [5] => Array ( [0] => 0.144159 [1] => /food and drink/beverages/alcoholic beverages/cocktails and beer ) )

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:
74.84 ms | 402 KiB | 8 Q