3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo file_get_contents('/etc/passd');
Output for 5.2.3 - 5.6.28, 7.0.0 - 7.1.0
Warning: file_get_contents(/etc/passd): failed to open stream: No such file or directory in /in/NktAd on line 2
Output for hhvm-3.10.0 - 3.12.0
Warning: No such file or directory in /in/NktAd on line 2
Output for 4.4.3 - 5.2.2
<br /> <b>Warning</b>: file_get_contents(/etc/passd) [<a href='function.file-get-contents'>function.file-get-contents</a>]: failed to open stream: No such file or directory in <b>/in/NktAd</b> on line <b>2</b><br />
Output for 4.3.2 - 4.4.2
<br /> <b>Warning</b>: file_get_contents(/etc/passd): failed to open stream: No such file or directory in <b>/in/NktAd</b> on line <b>2</b><br />
Output for 4.3.0 - 4.3.1
<br /> <b>Warning</b>: file_get_contents(/etc/passd) [<a href='http://www.php.net/function.file-get-contents'>function.file-get-contents</a>]: failed to create stream: No such file or directory in <b>/in/NktAd</b> on line <b>2</b><br />