3v4l.org

run code in 500+ PHP versions simultaneously
<?php try { throw new RuntimeException("Wee"); } catch (\Throwable $t) { var_dump($t); throw new Exception("Weee+Weee"); } finally { echo "I get executed no matter what."; }
Output for git.master, git.master_jit, rfc.property-hooks
object(RuntimeException)#1 (7) { ["message":protected]=> string(3) "Wee" ["string":"Exception":private]=> string(0) "" ["code":protected]=> int(0) ["file":protected]=> string(9) "/in/gA7Y1" ["line":protected]=> int(3) ["trace":"Exception":private]=> array(0) { } ["previous":"Exception":private]=> NULL } I get executed no matter what. Fatal error: Uncaught Exception: Weee+Weee in /in/gA7Y1:6 Stack trace: #0 {main} thrown in /in/gA7Y1 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:
46.94 ms | 2115 KiB | 4 Q