3v4l.org

run code in 200+ 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 - 7.2.0
Warning: fopen(prog.php): failed to open stream: 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!