3v4l.org

run code in 300+ PHP versions simultaneously
<?php $module_updates = array( 2 => 'update_2', 1000 => 'update_1000', 7001 => 'update_7001', 8000 => 'update_8000', 1001 => 'update_1001', 7000 => 'update_7000', ); uksort($module_updates, function($a, $b) { if ($a >= 7000 && $a < 9000) { $a -= 9000; } if ($b >= 7000 && $b < 9000) { $b -= 9000; } return ($a == $b) ? 0 : ($a > $b ? 1 : -1); }); print_r($module_updates);
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [7000] => update_7000 [7001] => update_7001 [8000] => update_8000 [2] => update_2 [1000] => update_1000 [1001] => update_1001 )

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:
33.61 ms | 401 KiB | 8 Q