3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php include "database.php"; ?>
based on qAqV4
Output for 7.3.0rc3 - 7.3.0rc4
Warning: include(): open_basedir restriction in effect. File(database.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/sfPZA on line 4 Warning: include(database.php): failed to open stream: Operation not permitted in /in/sfPZA on line 4 Warning: include(): Failed opening 'database.php' for inclusion (include_path='.:') in /in/sfPZA on line 4
Output for 5.5.0 - 7.1.10, 7.2.0, 7.3.0alpha1 - 7.3.0beta1
Warning: include(database.php): failed to open stream: No such file or directory in /in/sfPZA on line 4 Warning: include(): Failed opening 'database.php' for inclusion (include_path='.:') in /in/sfPZA on line 4
Output for 7.1.20, 7.2.6
Warning: include(): open_basedir restriction in effect. File(database.php) is not within the allowed path(s): (/tmp:/in) in /in/sfPZA on line 4 Warning: include(database.php): failed to open stream: Operation not permitted in /in/sfPZA on line 4 Warning: include(): Failed opening 'database.php' for inclusion (include_path='.:') in /in/sfPZA on line 4