3v4l.org

run code in 300+ PHP versions simultaneously
<?php function murder() { try { return $debts; } finally { try { return $ransom; } finally { try { return $satan_please_let_me_die; } finally { try { return $god_why; } finally { throw new SweetDeath; } } } } } var_dump(murder());
Output for git.master, git.master_jit, rfc.property-hooks
Warning: Undefined variable $debts in /in/kgpST on line 5 Warning: Undefined variable $ransom in /in/kgpST on line 8 Warning: Undefined variable $satan_please_let_me_die in /in/kgpST on line 11 Warning: Undefined variable $god_why in /in/kgpST on line 14 Fatal error: Uncaught Error: Class "SweetDeath" not found in /in/kgpST:16 Stack trace: #0 /in/kgpST(23): murder() #1 {main} thrown in /in/kgpST on line 16
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:
50.09 ms | 401 KiB | 8 Q