3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php //$str = "ryat\0".str_repeat('i',1024); link('01E2M','b'); $str = "b"; var_dump(readlink($str));
Output for 5.2.3 - 7.1.0
Warning: link(): No such file or directory in /in/jm9FT on line 4 Warning: readlink(): No such file or directory in /in/jm9FT on line 7 bool(false)
Output for 4.3.2 - 5.2.2
Warning: link(): Operation not permitted in /in/jm9FT on line 4 Warning: readlink(): No such file or directory in /in/jm9FT on line 7 bool(false)
Output for 4.3.1
Warning: link() [http://www.php.net/function.link]: Operation not permitted in /in/jm9FT on line 4 Warning: readlink() [http://www.php.net/function.readlink]: No such file or directory in /in/jm9FT on line 7 bool(false)
Output for 4.3.0
Warning: link() [http://www.php.net/function.link]: Read-only file system in /in/jm9FT on line 4 Warning: readlink() [http://www.php.net/function.readlink]: No such file or directory in /in/jm9FT on line 7 bool(false)