3v4l.org

run code in 300+ PHP versions simultaneously
<?php try { throw new Exception('original'); } catch (Throwable $orig) { try { throw new Exception('rollback'); } catch (Throwable $rollback) { throw new Exception($rollback->getMessage()."\n\nCaused by:\n\n".$orig, 0, $rollback); } throw $orig; }
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught Exception: rollback in /in/FmcJa:7 Stack trace: #0 {main} Next Exception: rollback Caused by: Exception: original in /in/FmcJa:4 Stack trace: #0 {main} in /in/FmcJa:9 Stack trace: #0 {main} thrown in /in/FmcJa on line 9
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:
37.44 ms | 405 KiB | 5 Q