3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo readfile("./new.php");; ?>
Output for 5.2.3 - 7.2.0
Warning: readfile(./new.php): failed to open stream: No such file or directory in /in/bJSAa on line 1
Output for 4.4.3 - 5.2.2
<br /> <b>Warning</b>: readfile(./new.php) [<a href='function.readfile'>function.readfile</a>]: failed to open stream: No such file or directory in <b>/in/bJSAa</b> on line <b>1</b><br />
Output for 4.3.2 - 4.4.2
<br /> <b>Warning</b>: readfile(./new.php): failed to open stream: No such file or directory in <b>/in/bJSAa</b> on line <b>1</b><br />
Output for 4.3.0 - 4.3.1
<br /> <b>Warning</b>: readfile(./new.php) [<a href='http://www.php.net/function.readfile'>function.readfile</a>]: failed to create stream: No such file or directory in <b>/in/bJSAa</b> on line <b>1</b><br />