3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php if (include 'pippo') { echo 'ciao'; } else { echo 'boh'; }
Output for 5.1.0 - 7.1.0
Warning: include(pippo): failed to open stream: No such file or directory in /in/5oWc6 on line 2 Warning: include(): Failed opening 'pippo' for inclusion (include_path='.:') in /in/5oWc6 on line 2 boh
Output for 4.3.2 - 5.0.5
Warning: main(pippo): failed to open stream: No such file or directory in /in/5oWc6 on line 2 Warning: main(): Failed opening 'pippo' for inclusion (include_path='.:') in /in/5oWc6 on line 2 boh
Output for 4.3.0 - 4.3.1
Warning: main(pippo) [http://www.php.net/function.main]: failed to create stream: No such file or directory in /in/5oWc6 on line 2 Warning: main() [http://www.php.net/function.main]: Failed opening 'pippo' for inclusion (include_path='.:') in /in/5oWc6 on line 2 boh