3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = "../../etc/passwd"; $arg = escapeshellarg("/data/files/{$a}"); print $arg; print(("rm {$arg}"));
Output for 4.3.0 - 7.1.0
'/data/files/../../etc/passwd'rm '/data/files/../../etc/passwd'