3v4l.org

run code in 300+ PHP versions simultaneously
<?php function bla($a, $b) { 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
Fatal error: Uncaught Error: Attempt to modify property "data" on null in /in/jNhu8:13 Stack trace: #0 {main} thrown in /in/jNhu8 on line 13
Process exited with code 255.

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