3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php require('toto.php');
based on sI9rY
Output for 7.1.20, 7.2.6
Warning: require(): open_basedir restriction in effect. File(toto.php) is not within the allowed path(s): (/tmp:/in) in /in/ILNIV on line 3 Warning: require(toto.php): failed to open stream: Operation not permitted in /in/ILNIV on line 3 Fatal error: require(): Failed opening required 'toto.php' (include_path='.:') in /in/ILNIV on line 3
Process exited with code 255.
Output for 5.4.0 - 7.1.10, 7.2.0
Warning: require(toto.php): failed to open stream: No such file or directory in /in/ILNIV on line 3 Fatal error: require(): Failed opening required 'toto.php' (include_path='.:') in /in/ILNIV on line 3
Process exited with code 255.