3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo 1; include 'basic.php'; echo 4; ?>
Output for 5.1.0 - 7.1.0
1 Warning: include(basic.php): failed to open stream: No such file or directory in /in/ijb3c on line 1 Warning: include(): Failed opening 'basic.php' for inclusion (include_path='.:') in /in/ijb3c on line 1 4
Output for 4.3.2 - 5.0.5
1 Warning: main(basic.php): failed to open stream: No such file or directory in /in/ijb3c on line 1 Warning: main(): Failed opening 'basic.php' for inclusion (include_path='.:') in /in/ijb3c on line 1 4
Output for 4.3.0 - 4.3.1
1 Warning: main(basic.php) [http://www.php.net/function.main]: failed to create stream: No such file or directory in /in/ijb3c on line 1 Warning: main() [http://www.php.net/function.main]: Failed opening 'basic.php' for inclusion (include_path='.:') in /in/ijb3c on line 1 4