3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php exec("cat \etc\passwd");
Output for 5.6.28, 7.0.14 - 7.1.0
Output for 5.4.0 - 5.6.26, 7.0.0 - 7.0.12
Warning: exec(): Unable to fork [cat tc\passwd] in /in/71fYL on line 2
Output for 4.3.2 - 5.3.29
Warning: exec(): Unable to fork [cat \etc\passwd] in /in/71fYL on line 2
Output for 4.3.0 - 4.3.1
Warning: exec() [http://www.php.net/function.exec]: Unable to fork [cat \etc\passwd] in /in/71fYL on line 2