3v4l.org

run code in 300+ PHP versions simultaneously
<?php function a() { return b(); } function b() { return c(); } function c() { return new Exception(); } $e = a(); echo "After a(), before throw\n"; throw $e;
Output for git.master, git.master_jit, rfc.property-hooks
After a(), before throw Fatal error: Uncaught Exception in /in/rbo6N:15 Stack trace: #0 /in/rbo6N(10): c() #1 /in/rbo6N(5): b() #2 /in/rbo6N(18): a() #3 {main} thrown in /in/rbo6N on line 15
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:
41.32 ms | 1418 KiB | 4 Q