3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php system("/bin/sh -c cat /etc/passwd"); ?>
Output for 5.5.24 - 7.1.7
Output for 4.3.2 - 5.4.45
Warning: system(): Unable to fork [/bin/sh -c cat /etc/passwd] in /in/41CYb on line 2
Output for 4.3.0 - 4.3.1
Warning: system() [http://www.php.net/function.system]: Unable to fork [/bin/sh -c cat /etc/passwd] in /in/41CYb on line 2