3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php //$str = "ryat\0".str_repeat('i',1024); //link('/in/01E2M','b'); //$str = "/vmlinuz"; //var_dump(readlink($str)); $a = tempnam("/tmp", ""); $b = '/tmp/ryat'; link($a,$b); var_dump(readlink($b));
Output for 4.3.2 - 5.6.28, 7.0.0 - 7.1.0
Warning: readlink(): Invalid argument in /in/bNhtJ on line 12 bool(false)
Output for hhvm-3.10.0 - 3.12.0
Warning: readlink(): No such file or directory /tmp/ryat in /in/bNhtJ on line 12 bool(false)
Output for 4.3.0 - 4.3.1
Warning: readlink() [http://www.php.net/function.readlink]: Invalid argument in /in/bNhtJ on line 12 bool(false)