3v4l.org

run code in 300+ PHP versions simultaneously
<?php try { require('no.php'); } catch (Throwable $e) { echo 'Catch!'; } finally { echo 'Finally?'; }
Output for git.master_jit, git.master, rfc.property-hooks
Warning: require(): open_basedir restriction in effect. File(no.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/sQeAQ on line 4 Warning: require(no.php): Failed to open stream: Operation not permitted in /in/sQeAQ on line 4 Catch!Finally?

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:
102.4 ms | 406 KiB | 5 Q