3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo file_get_contents("file:///etc/shadow");
Output for 5.0.0 - 7.1.0
Warning: file_get_contents(file:///etc/shadow): failed to open stream: Permission denied in /in/7h8VA on line 2
Output for 4.3.2 - 4.4.9
Notice: file_get_contents(): Unable to find the wrapper "file" - did you forget to enable it when you configured PHP? in /in/7h8VA on line 2 Warning: file_get_contents(file:///etc/shadow): failed to open stream: No such file or directory in /in/7h8VA on line 2
Output for 4.3.0 - 4.3.1
Notice: file_get_contents() [http://www.php.net/function.file-get-contents]: Unable to find the wrapper "file" - did you forget to enable it when you configured PHP? in /in/7h8VA on line 2 Warning: file_get_contents(file:///etc/shadow) [http://www.php.net/function.file-get-contents]: failed to create stream: No such file or directory in /in/7h8VA on line 2