3v4l.org

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