3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $homepage = file_get_contents('/bin/php'); echo $homepage;
Output for 7.3.0rc3 - 7.3.0rc6
Warning: file_get_contents(): open_basedir restriction in effect. File(/bin/php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/qWUPM on line 2 Warning: file_get_contents(/bin/php): failed to open stream: Operation not permitted in /in/qWUPM on line 2
Output for 4.3.2 - 7.1.10, 7.2.0 - 7.3.0beta1
Warning: file_get_contents(/bin/php): failed to open stream: No such file or directory in /in/qWUPM on line 2
Output for 7.1.20
Warning: file_get_contents(): open_basedir restriction in effect. File(/bin/php) is not within the allowed path(s): (/tmp:/in) in /in/qWUPM on line 2 Warning: file_get_contents(/bin/php): failed to open stream: Operation not permitted in /in/qWUPM on line 2
Output for 4.3.0 - 4.3.1
Warning: file_get_contents(/bin/php) [http://www.php.net/function.file-get-contents]: failed to create stream: No such file or directory in /in/qWUPM on line 2