3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php file_get_contents('/var/log/btmp');
Output for 7.0.20, 7.1.5 - 7.1.7
Warning: file_get_contents(/var/log/btmp): failed to open stream: Permission denied in /in/j51W7 on line 1
Output for 4.3.2 - 7.0.14, 7.1.0
Warning: file_get_contents(/var/log/btmp): failed to open stream: No such file or directory in /in/j51W7 on line 1
Output for 4.3.0 - 4.3.1
Warning: file_get_contents(/var/log/btmp) [http://www.php.net/function.file-get-contents]: failed to create stream: No such file or directory in /in/j51W7 on line 1