3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo "test"; include "www.google.com"; ?>
Output for 5.1.0 - 5.6.28, 7.0.0 - 7.1.0
test Warning: include(www.google.com): failed to open stream: No such file or directory in /in/1oWHG on line 3 Warning: include(): Failed opening 'www.google.com' for inclusion (include_path='.:') in /in/1oWHG on line 3
Output for hhvm-3.10.0 - 3.12.0
test Warning: File not found: www.google.com in /in/1oWHG on line 3
Output for 4.3.2 - 5.0.5
test Warning: main(www.google.com): failed to open stream: No such file or directory in /in/1oWHG on line 3 Warning: main(): Failed opening 'www.google.com' for inclusion (include_path='.:') in /in/1oWHG on line 3
Output for 4.3.0 - 4.3.1
test Warning: main(www.google.com) [http://www.php.net/function.main]: failed to create stream: No such file or directory in /in/1oWHG on line 3 Warning: main() [http://www.php.net/function.main]: Failed opening 'www.google.com' for inclusion (include_path='.:') in /in/1oWHG on line 3