3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php unlink("/etc/passwd\x00");
based on O487W
Output for 5.4.0 - 7.3.0rc4
Warning: unlink() expects parameter 1 to be a valid path, string given in /in/aR4uQ on line 3
Output for 5.3.4 - 5.3.29
Output for 4.3.2 - 5.3.3
Warning: unlink(/etc/passwd): Permission denied in /in/aR4uQ on line 3
Output for 4.3.0 - 4.3.1
Warning: unlink(/etc/passwd) [http://www.php.net/function.unlink]: Permission denied in /in/aR4uQ on line 3