3v4l.org

run code in 300+ PHP versions simultaneously
<?php function test ($x, $y) { if (($x + $y) > 0) { test($x, $y - 1); return; } return $y; } function test2 ($x) { if ($x < time()) { test2($x + 1); return; } return $x; } echo test2(test(111, 110));

preferences:
26.04 ms | 402 KiB | 5 Q