3v4l.org

run code in 300+ PHP versions simultaneously
<?php function retry($retries) { try { throw new \Exception(); } catch (\Exception $e) { if (!$retries) { throw new FailingTooHardException('', 0, $e); } retry($retries - 1, $fn); } } retry(5);
Output for git.master, git.master_jit, rfc.property-hooks
Warning: Undefined variable $fn in /in/s4aBl on line 10 Warning: Undefined variable $fn in /in/s4aBl on line 10 Warning: Undefined variable $fn in /in/s4aBl on line 10 Warning: Undefined variable $fn in /in/s4aBl on line 10 Warning: Undefined variable $fn in /in/s4aBl on line 10 Fatal error: Uncaught Error: Class "FailingTooHardException" not found in /in/s4aBl:8 Stack trace: #0 /in/s4aBl(10): retry(0, NULL) #1 /in/s4aBl(10): retry(1, NULL) #2 /in/s4aBl(10): retry(2, NULL) #3 /in/s4aBl(10): retry(3, NULL) #4 /in/s4aBl(10): retry(4, NULL) #5 /in/s4aBl(14): retry(5) #6 {main} thrown in /in/s4aBl on line 8
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:
47.15 ms | 402 KiB | 8 Q