3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $f = urldecode("/etc/aa%00a/../passwd"); readfile($f);
Output for 5.4.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Warning: readfile() expects parameter 1 to be a valid path, string given in /in/fNA69 on line 3
Output for 5.3.4 - 5.3.29
Output for 4.3.2 - 5.3.3
Warning: readfile(/etc/aa): failed to open stream: No such file or directory in /in/fNA69 on line 3
Output for 4.3.0 - 4.3.1
Warning: readfile(/etc/aa) [http://www.php.net/function.readfile]: failed to create stream: No such file or directory in /in/fNA69 on line 3