3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $fp = fopen("prog.php","r"); if($fp) { echo 'Configuration Outline'; echo '\n'; $result = fread($fp, 8192); print $result; return $result; echo $result; } else { echo 'no!'; } ?>
Output for 4.3.2 - 5.6.28, 7.0.0 - 7.1.0
Warning: fopen(prog.php): failed to open stream: No such file or directory in /in/OcJYa on line 2 no!
Output for hhvm-3.12.0
Warning: No such file or directory in /in/OcJYa on line -1 no!
Output for hhvm-3.10.0
Warning: No such file or directory in /in/OcJYa on line 2 no!
Output for 4.3.0 - 4.3.1
Warning: fopen(prog.php) [http://www.php.net/function.fopen]: failed to create stream: No such file or directory in /in/OcJYa on line 2 no!