3v4l.org

run code in 300+ PHP versions simultaneously
<?php function recursive($level) { if ($level >= 10) { throw new Exception; } $next = $level + 1; $level = 'foo' ; recursive($next); } recursive(0); ?>
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught Exception in /in/ua2Fb:5 Stack trace: #0 /in/ua2Fb(11): recursive(10) #1 /in/ua2Fb(11): recursive('foo') #2 /in/ua2Fb(11): recursive('foo') #3 /in/ua2Fb(11): recursive('foo') #4 /in/ua2Fb(11): recursive('foo') #5 /in/ua2Fb(11): recursive('foo') #6 /in/ua2Fb(11): recursive('foo') #7 /in/ua2Fb(11): recursive('foo') #8 /in/ua2Fb(11): recursive('foo') #9 /in/ua2Fb(11): recursive('foo') #10 /in/ua2Fb(14): recursive('foo') #11 {main} thrown in /in/ua2Fb on line 5
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:
111.78 ms | 2901 KiB | 4 Q