3v4l.org

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