3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php file_get_contents('/var/log/pacman.log');
Output for 7.3.0rc3 - 7.3.0rc4
Warning: file_get_contents(): open_basedir restriction in effect. File(/var/log/pacman.log) is not within the allowed path(s): (/tmp:/in:/etc) in /in/ZK6XF on line 1 Warning: file_get_contents(/var/log/pacman.log): failed to open stream: Operation not permitted in /in/ZK6XF on line 1
Output for 7.0.20, 7.1.5 - 7.1.10, 7.3.0alpha1 - 7.3.0beta1
Warning: file_get_contents(/var/log/pacman.log): failed to open stream: Permission denied in /in/ZK6XF on line 1
Output for 7.1.20, 7.2.6
Warning: file_get_contents(): open_basedir restriction in effect. File(/var/log/pacman.log) is not within the allowed path(s): (/tmp:/in) in /in/ZK6XF on line 1 Warning: file_get_contents(/var/log/pacman.log): failed to open stream: Operation not permitted in /in/ZK6XF on line 1
Output for 4.3.0 - 7.0.14, 7.1.0, 7.2.0