3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $f = urldecode("/etc/hosts%f7aaa/../passwds%f7"); readfile($f);
Output for 4.3.2 - 7.1.0
Warning: readfile(/etc/hosts�aaa/../passwds�): failed to open stream: No such file or directory in /in/NZ5LO on line 3
Output for 4.3.0 - 4.3.1
Warning: readfile(/etc/hosts�aaa/../passwds�) [http://www.php.net/function.readfile]: failed to create stream: No such file or directory in /in/NZ5LO on line 3