3v4l.org

run code in 300+ PHP versions simultaneously
<?php if (false) { require 'nonexistentFileWhichWillNotBeIncluded.php'; } else { require 'thisWillThrowAnError,ButNotTheOtherOne.php'; }
Output for git.master, git.master_jit, rfc.property-hooks
Warning: require(): open_basedir restriction in effect. File(thisWillThrowAnError,ButNotTheOtherOne.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/OfJOr on line 6 Warning: require(thisWillThrowAnError,ButNotTheOtherOne.php): Failed to open stream: Operation not permitted in /in/OfJOr on line 6 Fatal error: Uncaught Error: Failed opening required 'thisWillThrowAnError,ButNotTheOtherOne.php' (include_path='.:') in /in/OfJOr:6 Stack trace: #0 {main} thrown in /in/OfJOr on line 6
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:
53.61 ms | 402 KiB | 8 Q