3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?PHP $a=include('/var/www/logs/access.log'); var_dump($a); ?>
Output for 5.1.0 - 5.6.28, 7.0.0 - 7.1.0
Warning: include(/var/www/logs/access.log): failed to open stream: No such file or directory in /in/u3TOu on line 2 Warning: include(): Failed opening '/var/www/logs/access.log' for inclusion (include_path='.:') in /in/u3TOu on line 2 bool(false)
Output for hhvm-3.10.0 - 3.12.0
Warning: File not found: /var/www/logs/access.log in /in/u3TOu on line 2 bool(false)
Output for 4.3.2 - 5.0.5
Warning: main(/var/www/logs/access.log): failed to open stream: No such file or directory in /in/u3TOu on line 2 Warning: main(): Failed opening '/var/www/logs/access.log' for inclusion (include_path='.:') in /in/u3TOu on line 2 bool(false)
Output for 4.3.0 - 4.3.1
Warning: main(/var/www/logs/access.log) [http://www.php.net/function.main]: failed to create stream: No such file or directory in /in/u3TOu on line 2 Warning: main() [http://www.php.net/function.main]: Failed opening '/var/www/logs/access.log' for inclusion (include_path='.:') in /in/u3TOu on line 2 bool(false)