3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = array('1.23.006' => array('1'), '2.0.0' => array('1'), '10.0.0' => array('1', '4'), '2.0' => array('3')); uksort($data, function ($a, $b) { return version_compare($b, $a); }); print_r($data);
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [10.0.0] => Array ( [0] => 1 [1] => 4 ) [2.0.0] => Array ( [0] => 1 ) [2.0] => Array ( [0] => 3 ) [1.23.006] => Array ( [0] => 1 ) )

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