3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo file_get_contents("/bin/id");
based on UXumO
Output for 7.1.20, 7.2.6
Warning: file_get_contents(): open_basedir restriction in effect. File(/bin/id) is not within the allowed path(s): (/tmp:/in) in /in/otjlk on line 2 Warning: file_get_contents(/bin/id): failed to open stream: Operation not permitted in /in/otjlk on line 2
Output for 5.5.0 - 7.1.7, 7.2.0
Warning: file_get_contents(/bin/id): failed to open stream: No such file or directory in /in/otjlk on line 2