3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php //$str = "ryat\0".str_repeat('i',1024); $str = "a\0../in"; var_dump(readlink($str));
Output for 5.4.40 - 5.6.28, 7.0.0 - 7.1.0
Warning: readlink() expects parameter 1 to be a valid path, string given in /in/GsSTt on line 6 NULL
Output for hhvm-3.10.0 - 3.12.0
Warning: readlink(): No such file or directory a in /in/GsSTt on line 6 bool(false)
Output for 4.3.2 - 5.3.3, 5.4.0 - 5.4.39
Warning: readlink(): No such file or directory in /in/GsSTt on line 6 bool(false)
Output for 5.3.4 - 5.3.29
bool(false)
Output for 4.3.0 - 4.3.1
Warning: readlink() [http://www.php.net/function.readlink]: No such file or directory in /in/GsSTt on line 6 bool(false)