3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo readlink("/in/KgTcR\0hi");
Output for 5.4.40 - 5.4.45, 5.5.24 - 5.5.35, 5.6.8 - 5.6.28, 7.0.0 - 7.1.0
Warning: readlink() expects parameter 1 to be a valid path, string given in /in/nGkjK on line 2
Output for hhvm-3.10.0 - 3.12.0
Warning: readlink(): No such file or directory /in/KgTcR in /in/nGkjK on line 2
Output for 5.2.3 - 5.3.3, 5.4.0 - 5.4.39, 5.5.0 - 5.5.23, 5.6.0 - 5.6.7
Warning: readlink(): Invalid argument in /in/nGkjK on line 2
Output for 5.3.4 - 5.3.29
Output for 4.4.3 - 5.2.2
<br /> <b>Warning</b>: readlink() [<a href='function.readlink'>function.readlink</a>]: Invalid argument in <b>/in/nGkjK</b> on line <b>2</b><br />
Output for 4.3.2 - 4.4.2
<br /> <b>Warning</b>: readlink(): Invalid argument in <b>/in/nGkjK</b> on line <b>2</b><br />
Output for 4.3.0 - 4.3.1
<br /> <b>Warning</b>: readlink() [<a href='http://www.php.net/function.readlink'>function.readlink</a>]: Invalid argument in <b>/in/nGkjK</b> on line <b>2</b><br />