3v4l.org

run code in 300+ PHP versions simultaneously
<?php function bla($x, $y) { $a = $x[0]; $b = $y[0]; if ($a < $b) return -1; if ($a == $b) return 0; if ($a > $b) return 1; } $data = json_decode('{ "data": [[47,47,21],[20,12,4],[6,76,91],[38,30,60],[57,98,64],[61,17,80],[83,60,13],[67,78,75],[64,12,10],[30,77,82]] }'); usort($data->data, 'bla'); echo json_encode($data);
Output for git.master, git.master_jit, rfc.property-hooks
{"data":[[6,76,91],[20,12,4],[30,77,82],[38,30,60],[47,47,21],[57,98,64],[61,17,80],[64,12,10],[67,78,75],[83,60,13]]}

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