3v4l.org

run code in 500+ PHP versions simultaneously
<?php try { $x = initSomething(); doSomething(); // may throw an exception } // no catch: exception keep their way // finally is always executed // with or without exception being caught finally{ $x->shutdown(); } ?>
Output for git.master_jit, git.master
Warning: Undefined variable $x in /in/Wh9Ie on line 13 Fatal error: Uncaught Error: Call to undefined function initSomething() in /in/Wh9Ie:4 Stack trace: #0 {main} Next Error: Call to a member function shutdown() on null in /in/Wh9Ie:13 Stack trace: #0 {main} thrown in /in/Wh9Ie on line 13
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:
25.17 ms | 873 KiB | 4 Q