3v4l.org

run code in 300+ PHP versions simultaneously
<?php $e = new \RuntimeException('R', 42, new \OverflowException('O', 1000)); echo $e . PHP_EOL; echo '---'; throw $e;
Output for git.master, git.master_jit, rfc.property-hooks
OverflowException: O in /in/lBRM1:3 Stack trace: #0 {main} Next RuntimeException: R in /in/lBRM1:3 Stack trace: #0 {main} --- Fatal error: Uncaught OverflowException: O in /in/lBRM1:3 Stack trace: #0 {main} Next RuntimeException: R in /in/lBRM1:3 Stack trace: #0 {main} thrown in /in/lBRM1 on line 3
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:
80.08 ms | 406 KiB | 5 Q