3v4l.org

run code in 300+ PHP versions simultaneously
<?php $limiter = 20; $func = function() use (&$limiter, &$func) { $limiter--; if (!$limiter) { print "<pre>"; debug_print_backtrace(); throw new Exception("test error"); } if ($limiter <= 0) return; $func(); }; $func();
Output for git.master, git.master_jit, rfc.property-hooks
<pre>#0 /in/VhoFu(15): {closure}() #1 /in/VhoFu(15): {closure}() #2 /in/VhoFu(15): {closure}() #3 /in/VhoFu(15): {closure}() #4 /in/VhoFu(15): {closure}() #5 /in/VhoFu(15): {closure}() #6 /in/VhoFu(15): {closure}() #7 /in/VhoFu(15): {closure}() #8 /in/VhoFu(15): {closure}() #9 /in/VhoFu(15): {closure}() #10 /in/VhoFu(15): {closure}() #11 /in/VhoFu(15): {closure}() #12 /in/VhoFu(15): {closure}() #13 /in/VhoFu(15): {closure}() #14 /in/VhoFu(15): {closure}() #15 /in/VhoFu(15): {closure}() #16 /in/VhoFu(15): {closure}() #17 /in/VhoFu(15): {closure}() #18 /in/VhoFu(15): {closure}() #19 /in/VhoFu(18): {closure}() Fatal error: Uncaught Exception: test error in /in/VhoFu:10 Stack trace: #0 /in/VhoFu(15): {closure}() #1 /in/VhoFu(15): {closure}() #2 /in/VhoFu(15): {closure}() #3 /in/VhoFu(15): {closure}() #4 /in/VhoFu(15): {closure}() #5 /in/VhoFu(15): {closure}() #6 /in/VhoFu(15): {closure}() #7 /in/VhoFu(15): {closure}() #8 /in/VhoFu(15): {closure}() #9 /in/VhoFu(15): {closure}() #10 /in/VhoFu(15): {closure}() #11 /in/VhoFu(15): {closure}() #12 /in/VhoFu(15): {closure}() #13 /in/VhoFu(15): {closure}() #14 /in/VhoFu(15): {closure}() #15 /in/VhoFu(15): {closure}() #16 /in/VhoFu(15): {closure}() #17 /in/VhoFu(15): {closure}() #18 /in/VhoFu(15): {closure}() #19 /in/VhoFu(18): {closure}() #20 {main} thrown in /in/VhoFu on line 10
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:
67.25 ms | 402 KiB | 8 Q