3v4l.org

run code in 300+ PHP versions simultaneously
<?php function hl($h) { if ($h > 4) { throw new Exception(); } ++$h; hl($h); } hl(0);
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught Exception in /in/rHsLn:6 Stack trace: #0 /in/rHsLn(9): hl(5) #1 /in/rHsLn(9): hl(5) #2 /in/rHsLn(9): hl(4) #3 /in/rHsLn(9): hl(3) #4 /in/rHsLn(9): hl(2) #5 /in/rHsLn(13): hl(1) #6 {main} thrown in /in/rHsLn on line 6
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:
52.22 ms | 401 KiB | 8 Q